git scm and site:deploy

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

git scm and site:deploy

Thomas Scheffler
Hi,

I have a project and I want to deploy the site to github. Luckily there
is documentation about how to do this:

http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html

But neither with the config there not with newer version I achieve success:

 Transfer error:
org.apache.maven.scm.manager.NoSuchScmProviderException: No such
provider: 'git'.

my pom looks like this:

 <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-scm</artifactId>
        <version>2.2</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.scm</groupId>
        <artifactId>maven-scm-manager-plexus</artifactId>
        <version>1.7</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.scm</groupId>
        <artifactId>maven-scm-provider-gitexe</artifactId>
        <version>1.7</version>
      </extension>
    </extensions>
[...]
 </build>

So there seems no problem with the scm URL in general, as "mvn
scm:validate" is successful for "<scm>" configuration just site:deploy
does not know about the git scm provider.

How can I achieve to commit the site to github?

regards,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

olamy
Not very well supported currently natively by our own Apache maven stuff.

But have a look here http://khuxtable.github.com/wagon-gitsite/usage.html


2012/8/22 Thomas Scheffler <[hidden email]>:

> Hi,
>
> I have a project and I want to deploy the site to github. Luckily there
> is documentation about how to do this:
>
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
>
> But neither with the config there not with newer version I achieve success:
>
>  Transfer error:
> org.apache.maven.scm.manager.NoSuchScmProviderException: No such
> provider: 'git'.
>
> my pom looks like this:
>
>  <build>
>     <extensions>
>       <extension>
>         <groupId>org.apache.maven.wagon</groupId>
>         <artifactId>wagon-scm</artifactId>
>         <version>2.2</version>
>       </extension>
>       <extension>
>         <groupId>org.apache.maven.scm</groupId>
>         <artifactId>maven-scm-manager-plexus</artifactId>
>         <version>1.7</version>
>       </extension>
>       <extension>
>         <groupId>org.apache.maven.scm</groupId>
>         <artifactId>maven-scm-provider-gitexe</artifactId>
>         <version>1.7</version>
>       </extension>
>     </extensions>
> [...]
>  </build>
>
> So there seems no problem with the scm URL in general, as "mvn
> scm:validate" is successful for "<scm>" configuration just site:deploy
> does not know about the git scm provider.
>
> How can I achieve to commit the site to github?
>
> regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Thomas Scheffler
Am 22.08.2012 12:48, schrieb Olivier Lamy:
> Not very well supported currently natively by our own Apache maven stuff.
>
> But have a look here http://khuxtable.github.com/wagon-gitsite/usage.html

Thank you for giving me the link. Sadly currently I found no version of
this plugin in any repository. So it seems a bit ugly to download the
source and install the artifact locally.

As this affect a documented feature that is missing (see:
http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
should I open a bug then or am I missing some config options?

regards,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

stephenconnolly
On 22 August 2012 13:03, Thomas Scheffler <[hidden email]>wrote:

> Am 22.08.2012 12:48, schrieb Olivier Lamy:
> > Not very well supported currently natively by our own Apache maven stuff.
> >
> > But have a look here
> http://khuxtable.github.com/wagon-gitsite/usage.html
>
> Thank you for giving me the link. Sadly currently I found no version of
> this plugin in any repository. So it seems a bit ugly to download the
>

It's in central.

http://search.maven.org/#search%7Cga%7C1%7Cwagon-gitsite

Here is an example (though using my forked version - which has some patches
that I needed and ms huxtable has yet to publish a release with the patches
applied - likely because her use cases do not overlap the issues I had)

https://github.com/jszip/jszip-parent/blob/master/pom.xml#L144


> source and install the artifact locally.
>
> As this affect a documented feature that is missing (see:
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
> should I open a bug then or am I missing some config options?
>
> regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Fabien Kruba
In reply to this post by Thomas Scheffler
Hello.

looking at the pom in the git project, it seems to be deployed on sonatype:

https://oss.sonatype.org/index.html#nexus-search;quick~wagon-gitsite

Hope that helps.

On Wed, Aug 22, 2012 at 8:03 AM, Thomas Scheffler
<[hidden email]> wrote:

> Am 22.08.2012 12:48, schrieb Olivier Lamy:
>> Not very well supported currently natively by our own Apache maven stuff.
>>
>> But have a look here http://khuxtable.github.com/wagon-gitsite/usage.html
>
> Thank you for giving me the link. Sadly currently I found no version of
> this plugin in any repository. So it seems a bit ugly to download the
> source and install the artifact locally.
>
> As this affect a documented feature that is missing (see:
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
> should I open a bug then or am I missing some config options?
>
> regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

stephenconnolly
In reply to this post by stephenconnolly
Here is my fork https://github.com/stephenc/wagon-gitsite which has support
for deploying multi-module projects (which is what I needed)

On 22 August 2012 13:09, Stephen Connolly
<[hidden email]>wrote:

> On 22 August 2012 13:03, Thomas Scheffler <[hidden email]>wrote:
>
>> Am 22.08.2012 12:48, schrieb Olivier Lamy:
>> > Not very well supported currently natively by our own Apache maven
>> stuff.
>> >
>> > But have a look here
>> http://khuxtable.github.com/wagon-gitsite/usage.html
>>
>> Thank you for giving me the link. Sadly currently I found no version of
>> this plugin in any repository. So it seems a bit ugly to download the
>>
>
> It's in central.
>
> http://search.maven.org/#search%7Cga%7C1%7Cwagon-gitsite
>
> Here is an example (though using my forked version - which has some
> patches that I needed and ms huxtable has yet to publish a release with the
> patches applied - likely because her use cases do not overlap the issues I
> had)
>
> https://github.com/jszip/jszip-parent/blob/master/pom.xml#L144
>
>
>> source and install the artifact locally.
>>
>> As this affect a documented feature that is missing (see:
>> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
>> should I open a bug then or am I missing some config options?
>>
>> regards,
>>
>> Thomas
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Kathryn Huxtable
Should I be pulling that and deploying? -K

On Aug 22, 2012, at 7:12 AM, Stephen Connolly wrote:

> Here is my fork https://github.com/stephenc/wagon-gitsite which has support
> for deploying multi-module projects (which is what I needed)
>
> On 22 August 2012 13:09, Stephen Connolly
> <[hidden email]>wrote:
>
>> On 22 August 2012 13:03, Thomas Scheffler <[hidden email]>wrote:
>>
>>> Am 22.08.2012 12:48, schrieb Olivier Lamy:
>>>> Not very well supported currently natively by our own Apache maven
>>> stuff.
>>>>
>>>> But have a look here
>>> http://khuxtable.github.com/wagon-gitsite/usage.html
>>>
>>> Thank you for giving me the link. Sadly currently I found no version of
>>> this plugin in any repository. So it seems a bit ugly to download the
>>>
>>
>> It's in central.
>>
>> http://search.maven.org/#search%7Cga%7C1%7Cwagon-gitsite
>>
>> Here is an example (though using my forked version - which has some
>> patches that I needed and ms huxtable has yet to publish a release with the
>> patches applied - likely because her use cases do not overlap the issues I
>> had)
>>
>> https://github.com/jszip/jszip-parent/blob/master/pom.xml#L144
>>
>>
>>> source and install the artifact locally.
>>>
>>> As this affect a documented feature that is missing (see:
>>> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
>>> should I open a bug then or am I missing some config options?
>>>
>>> regards,
>>>
>>> Thomas
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Thomas Scheffler
In reply to this post by stephenconnolly
Am 22.08.2012 14:09, schrieb Stephen Connolly:

> On 22 August 2012 13:03, Thomas Scheffler <[hidden email]>wrote:
>
>> Am 22.08.2012 12:48, schrieb Olivier Lamy:
>>> Not very well supported currently natively by our own Apache maven stuff.
>>>
>>> But have a look here
>> http://khuxtable.github.com/wagon-gitsite/usage.html
>>
>> Thank you for giving me the link. Sadly currently I found no version of
>> this plugin in any repository. So it seems a bit ugly to download the
>>
>
> It's in central.
>
> http://search.maven.org/#search%7Cga%7C1%7Cwagon-gitsite

Hi,

thank you again. I was trying the SNAPSHOT version and version 0.3
(which does not exist). I can deploy my site now. Thanks a lot!

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Aldrin Leal
In reply to this post by Thomas Scheffler
Github does have a plugin for this as well

https://github.com/github/maven-plugins

Easy to use, I think:

                                        <plugin>
                                                <groupId>com.github.github</groupId>
                                                <artifactId>site-maven-plugin</artifactId>
                                                <version>0.7</version>
                                                <configuration>
                                                        <message>Site Update</message>
                                                </configuration>
                                                <executions>
                                                        <execution>
                                                                <goals>
                                                                        <goal>site</goal>
                                                                </goals>
                                                                <phase>site</phase>
                                                        </execution>
                                                </executions>
                                        </plugin>

If you define <scm/> correctly, it will push into github pages as a
branch, just like the specs say

--
-- Aldrin Leal, <[hidden email]> / http://meadiciona.com/aldrinleal


On Wed, Aug 22, 2012 at 7:00 AM, Thomas Scheffler
<[hidden email]> wrote:

> Hi,
>
> I have a project and I want to deploy the site to github. Luckily there
> is documentation about how to do this:
>
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
>
> But neither with the config there not with newer version I achieve success:
>
>  Transfer error:
> org.apache.maven.scm.manager.NoSuchScmProviderException: No such
> provider: 'git'.
>
> my pom looks like this:
>
>  <build>
>     <extensions>
>       <extension>
>         <groupId>org.apache.maven.wagon</groupId>
>         <artifactId>wagon-scm</artifactId>
>         <version>2.2</version>
>       </extension>
>       <extension>
>         <groupId>org.apache.maven.scm</groupId>
>         <artifactId>maven-scm-manager-plexus</artifactId>
>         <version>1.7</version>
>       </extension>
>       <extension>
>         <groupId>org.apache.maven.scm</groupId>
>         <artifactId>maven-scm-provider-gitexe</artifactId>
>         <version>1.7</version>
>       </extension>
>     </extensions>
> [...]
>  </build>
>
> So there seems no problem with the scm URL in general, as "mvn
> scm:validate" is successful for "<scm>" configuration just site:deploy
> does not know about the git scm provider.
>
> How can I achieve to commit the site to github?
>
> regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

stephenconnolly
They could follow the maven conventions though rather than hack the effects
in the way they have.

-S

On 23 August 2012 07:19, Aldrin Leal <[hidden email]> wrote:

> Github does have a plugin for this as well
>
> https://github.com/github/maven-plugins
>
> Easy to use, I think:
>
>                                         <plugin>
>
> <groupId>com.github.github</groupId>
>
> <artifactId>site-maven-plugin</artifactId>
>                                                 <version>0.7</version>
>                                                 <configuration>
>                                                         <message>Site
> Update</message>
>                                                 </configuration>
>                                                 <executions>
>                                                         <execution>
>                                                                 <goals>
>
> <goal>site</goal>
>                                                                 </goals>
>
> <phase>site</phase>
>                                                         </execution>
>                                                 </executions>
>                                         </plugin>
>
> If you define <scm/> correctly, it will push into github pages as a
> branch, just like the specs say
>
> --
> -- Aldrin Leal, <[hidden email]> / http://meadiciona.com/aldrinleal
>
>
> On Wed, Aug 22, 2012 at 7:00 AM, Thomas Scheffler
> <[hidden email]> wrote:
> > Hi,
> >
> > I have a project and I want to deploy the site to github. Luckily there
> > is documentation about how to do this:
> >
> > http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
> >
> > But neither with the config there not with newer version I achieve
> success:
> >
> >  Transfer error:
> > org.apache.maven.scm.manager.NoSuchScmProviderException: No such
> > provider: 'git'.
> >
> > my pom looks like this:
> >
> >  <build>
> >     <extensions>
> >       <extension>
> >         <groupId>org.apache.maven.wagon</groupId>
> >         <artifactId>wagon-scm</artifactId>
> >         <version>2.2</version>
> >       </extension>
> >       <extension>
> >         <groupId>org.apache.maven.scm</groupId>
> >         <artifactId>maven-scm-manager-plexus</artifactId>
> >         <version>1.7</version>
> >       </extension>
> >       <extension>
> >         <groupId>org.apache.maven.scm</groupId>
> >         <artifactId>maven-scm-provider-gitexe</artifactId>
> >         <version>1.7</version>
> >       </extension>
> >     </extensions>
> > [...]
> >  </build>
> >
> > So there seems no problem with the scm URL in general, as "mvn
> > scm:validate" is successful for "<scm>" configuration just site:deploy
> > does not know about the git scm provider.
> >
> > How can I achieve to commit the site to github?
> >
> > regards,
> >
> > Thomas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

stephenconnolly
In reply to this post by Kathryn Huxtable
Probably, though you might want to ensure that you switch back the groupId
;-)

On 22 August 2012 23:22, Kathryn Huxtable <[hidden email]>wrote:

> Should I be pulling that and deploying? -K
>
> On Aug 22, 2012, at 7:12 AM, Stephen Connolly wrote:
>
> > Here is my fork https://github.com/stephenc/wagon-gitsite which has
> support
> > for deploying multi-module projects (which is what I needed)
> >
> > On 22 August 2012 13:09, Stephen Connolly
> > <[hidden email]>wrote:
> >
> >> On 22 August 2012 13:03, Thomas Scheffler <[hidden email]
> >wrote:
> >>
> >>> Am 22.08.2012 12:48, schrieb Olivier Lamy:
> >>>> Not very well supported currently natively by our own Apache maven
> >>> stuff.
> >>>>
> >>>> But have a look here
> >>> http://khuxtable.github.com/wagon-gitsite/usage.html
> >>>
> >>> Thank you for giving me the link. Sadly currently I found no version of
> >>> this plugin in any repository. So it seems a bit ugly to download the
> >>>
> >>
> >> It's in central.
> >>
> >> http://search.maven.org/#search%7Cga%7C1%7Cwagon-gitsite
> >>
> >> Here is an example (though using my forked version - which has some
> >> patches that I needed and ms huxtable has yet to publish a release with
> the
> >> patches applied - likely because her use cases do not overlap the
> issues I
> >> had)
> >>
> >> https://github.com/jszip/jszip-parent/blob/master/pom.xml#L144
> >>
> >>
> >>> source and install the artifact locally.
> >>>
> >>> As this affect a documented feature that is missing (see:
> >>> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html)
> >>> should I open a bug then or am I missing some config options?
> >>>
> >>> regards,
> >>>
> >>> Thomas
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [hidden email]
> >>> For additional commands, e-mail: [hidden email]
> >>>
> >>>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: git scm and site:deploy

Thomas Scheffler
In reply to this post by stephenconnolly
Am 23.08.2012 10:16, schrieb Stephen Connolly:
> They could follow the maven conventions though rather than hack the effects
> in the way they have.

Yeah,

to release versions you have to provide <distributionManagement> in your
pom and these github plugins currently give a damn about it. That's why
I originally posted to this list ;-)

regards,

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]