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

Rob Elliot edited comment on WAGON-374 at 9/15/12 7:09 PM:
-----------------------------------------------------------

I worked around MSITE-654 by hacking GitScmProviderRepository to remove the 
trailing slash, only to find that on a multi-module build each module simply 
over-writes the previous one on the branch instead of creating a single site 
containing all modules and uploading it in one go.

I think I've just about had it with trying to persuade the maven site plugin to 
behave appropriately.

(In the process I found ANOTHER error in the documentation at 
http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html - it should 
be:
{code:xml}
<server>
  <id>my.git.server</id>
  <username>git</username>
  <configuration>
    <scmVersionType>branch</scmVersionType>
    <scmVersion>gh-pages</scmVersion>
  </configuration>
</server>
{code}
not
{code:xml}
<server>
  <id>my.git.server</id>
  <username>git</username>
  <scmVersionType>branch</scmVersionType>
  <scmVersion>gh-pages</scmVersion>
</server>
{code}
                
      was (Author: mahoney266):
    I worked around MSITE-654 by hacking GitScmProviderRepository to remove the 
trailing slash, only to find that on a multi-module build each module simply 
over-writes the previous one on the branch. I think I've just about had it with 
trying to persuade the maven site plugin to behave appropriately.

(In the process I found ANOTHER error in the documentation at 
http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html - it should 
be:
{code:xml}
<server>
  <id>my.git.server</id>
  <username>git</username>
  <configuration>
    <scmVersionType>branch</scmVersionType>
    <scmVersion>gh-pages</scmVersion>
  </configuration>
</server>
{code}
not
{code:xml}
<server>
  <id>my.git.server</id>
  <username>git</username>
  <scmVersionType>branch</scmVersionType>
  <scmVersion>gh-pages</scmVersion>
</server>
{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