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: 3.0, 2.3
            Reporter: 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

        

Reply via email to