Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3, 3.0
-
None
Description
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.
[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
Notice how it gets deployed to
/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin/
instead of
/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/