Hervé, FYI things are not perfect yet

The woes of getting site:stage-deploy to work...

[stephenc@stephenc ~/apache/maven-release/target/checkout]$ usemvn 3.0.2
[stephenc@stephenc ~/apache/maven-release/target/checkout]$ mvn
site:stage-deploy -Preporting
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:2.3:stage-deploy
(default-cli) on project maven-release: The site does not exist,
please run site:site first -> [Help 1]

[stephenc@stephenc ~/apache/maven-release/target/checkout]$ usemvn 2.2.1
[stephenc@stephenc ~/apache/maven-release/target/checkout]$ mvn
site:stage-deploy -Preporting
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Maven Release
[INFO]   Maven Release Manager
[INFO]   Maven Release Plugin
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Release
[INFO]    task-segment: [site:stage-deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [site:stage-deploy {execution: default-cli}]
[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/staging/
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The site does not exist, please run site:site first
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jun 27 10:03:27 IST 2011
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------

[stephenc@stephenc ~/apache/maven-release/target/checkout]$ usemvn 3.0.2
[stephenc@stephenc ~/apache/maven-release/target/checkout]$ mvn
site:site site:stage-deploy -Preporting
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Maven Release
[INFO] Maven Release Manager
[INFO] Maven Release Plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Release 2.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:2.3:site (default-cli) @ maven-release ---
[WARNING] Running 2.x site-plugin with Maven 3, use site-plugin-3.x instead!
[INFO] Parent project loaded from repository:
org.apache.maven:maven-parent:pom:20
[INFO] Parent project loaded from repository: org.apache:apache:pom:9
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20-site_en.xml
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20-site.xml
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20-site.xml
(3 KB at 3.2 KB/sec)
[INFO] Relativizing decoration links with respect to project URL:
http://maven.apache.org/maven-release/
[INFO] Rendering site with
org.apache.maven.skins:maven-stylus-skin:jar:1.3 skin.
[INFO]
[INFO] --- maven-site-plugin:2.3:stage-deploy (default-cli) @ maven-release ---
[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/staging/
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Release ..................................... FAILURE [3.804s]
[INFO] Maven Release Manager ............................. SKIPPED
[INFO] Maven Release Plugin .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.146s
[INFO] Finished at: Mon Jun 27 10:04:07 IST 2011
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:2.3:stage-deploy
(default-cli) on project maven-release: Unsupported protocol: 'scp':
Cannot find wagon which supports the requested protocol: scp:
com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.apache.maven.wagon.Wagon
annotated with @Named(value=scp) was bound.
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.wagon.Wagon
[ERROR] roleHint: scp
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Seems to be working with 2.2.1 and "site:site site:stage-deploy
-Preporting"... touch wood

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to