[ https://jira.codehaus.org/browse/MSITE-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275187#comment-275187 ]
Dennis Lundberg commented on MSITE-602: --------------------------------------- A first attempt to fix this was done in [r1154621|http://svn.apache.org/viewvc?view=revision&revision=1154621]. Unfortunately Jenkins is reporting that the IT site-inheritance is failing when run with Maven 2.2.1. The IT pass with Maven 3.0.3 though. Will need to investigate more. For those interested in testing this fix out, I have deployed a 3.1-SNAPSHOT version. > The staged site is deployed to the wrong place > ---------------------------------------------- > > Key: MSITE-602 > URL: https://jira.codehaus.org/browse/MSITE-602 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:stage(-deploy) > Affects Versions: 2.3, 3.0 > Reporter: Dennis Lundberg > Assignee: Dennis Lundberg > > When running 'mvn site:stage-deploy' the site is deployed to the wrong place. > Below is the output from a test run performed on the Checkstyle Plugin > project. > {noformat} > [INFO] --- maven-site-plugin:3.0:stage-deploy (default-cli) @ > maven-checkstyle-plugin --- > [INFO] Using this server ID for stage deploy: apache.website > [INFO] Using this base URL for stage deploy: > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT > [INFO] Parent project loaded from repository: > org.apache.maven.plugins:maven-plugins:pom:21 > [INFO] Parent project loaded from repository: > org.apache.maven:maven-parent:pom:20 > [INFO] Parent project loaded from repository: org.apache:apache:pom:9 > : Keyboard interactive required, supplied password is ignored > Password: : ******** > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > - Session: Opened > [INFO] Pushing > G:\apache\maven\trunks\plugins\maven-checkstyle-plugin\target\site > [INFO] >>> to > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin > Executing command: mkdir -p > /www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin > Executing command: mkdir -p > /www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin > Executing command: scp -t > "/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin/wagon592489540427231356.zip" > Uploading: plugins/maven-checkstyle-plugin/wagon592489540427231356.zip to > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > ####################################################### > Transfer finished. 224640 bytes copied in 1.699 seconds > Executing command: cd > /www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin; > unzip -q -o wagon592489540427231356.zip; rm -f wagon592489540427231356.zip > Executing command: chmod -Rf g+w,a+rX > /www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > - Session: Disconnecting > scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > - Session: Disconnected > {noformat} > Notice how it gets deployed to > {noformat} > /plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin/ > {noformat} > instead of > {noformat} > /plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/ > {noformat} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira