[ https://jira.codehaus.org/browse/WAGON-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308607#comment-308607 ]
Rob Elliot commented on WAGON-374: ---------------------------------- OK, trial and error leads me to conclude that the <extensions> mentioned on the usage page are now not needed - instead I need to add the following dependencies to the site plugin: {code:xml} <build> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.1</version> <dependencies> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-scm</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-api</artifactId> <version>1.8</version> </dependency> </dependencies> </plugin> </plugins> </build> {code} At that point it fails because it tries to run the following command: {noformat} git clone ssh://g...@github.com/Mahoney/sandbox.git/ {noformat} Note the trailing slash - it shouldn't be there. Remove it and the clone works fine. My distribution management section looks as follows: {code:xml} <distributionManagement> <site> <id>gh-pages</id> <url>scm:git:ssh://g...@github.com/Mahoney/sandbox.git</url> </site> </distributionManagement> {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