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

Rob Elliot commented on WAGON-374:
----------------------------------

This is my experience also. When I try it I have the following issues:

1) The versions are wrong - maven-scm-manager-plexus is currently at 1.8, as is 
maven-scm-provider-gitexe. In the example on the page they are both at 2.2. 
Easy to fix, but the documentation as it stands is wrong.

2) Maven complains that it does not understand the settings.xml:
{noformat}
[WARNING] 
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Unrecognised tag: 'scmVersionType' (position: START_TAG seen 
...</password>\n      <scmVersionType>... @21:23)  @ 
/Users/Robert/.m2/settings.xml, line 21, column 23
[WARNING] 
{noformat}

3) On attempting a site-deploy I get this error:
{noformat}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.1:deploy (default-deploy) on 
project sandbox: Error uploading site: Error interacting with SCM: No such 
provider: 'git'. -> [Help 1]
{noformat}

Using Maven 3.0.4, maven-site-plugin 3.1.
                
> 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