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, <[email protected]> / http://meadiciona.com/aldrinleal


On Wed, Aug 22, 2012 at 7:00 AM, Thomas Scheffler
<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>

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

Reply via email to