[
https://jira.codehaus.org/browse/WAGON-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308644#comment-308644
]
Jackie Noi commented on WAGON-374:
----------------------------------
This is what I just a moment ago used to deploy my maven project to the github
pages with maven 3.0.4:
{code:xml}
<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.8</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.8</version>
</extension>
</build>
<distributionManagement>
<repository>
<id>gh.pages</id>
<url>scm:git:ssh://[email protected]/lhw/duckduckgo.git</url>
</repository>
</distributionManagement>
{code}
With the following settings:
{code:xml}
<servers>
<server>
<id>gh.pages</id>
<username>git</username>
<configuration>
<scmVersionType>branch</scmVersionType>
<scmVersion>gh-pages</scmVersion>
</configuration>
</server>
</servers>
{code}
> Deploying your Maven site to GitHub's gh-pages
> ----------------------------------------------
>
> Key: WAGON-374
> URL: https://jira.codehaus.org/browse/WAGON-374
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-scm
> Affects Versions: 2.2
> Reporter: Samuel Santos
>
> The example at
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html for
> deploying a Maven site to GitHub's pages does not work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira