[ 
https://jira.codehaus.org/browse/WAGON-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308644#comment-308644
 ] 

Jackie Noi edited comment on WAGON-374 at 9/16/12 12:42 PM:
------------------------------------------------------------

This is what I just a moment ago used to deploy my maven project to the github 
pages with maven 3.0.4. No _workarounds_ needed as far as I am concerned:

{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://g...@github.com/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}
                
      was (Author: jackienoi):
    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://g...@github.com/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

        

Reply via email to