Author: ltheussl
Date: Fri Dec 23 07:52:47 2011
New Revision: 1222599
URL: http://svn.apache.org/viewvc?rev=1222599&view=rev
Log:
[MSITE-624] Usage page has incorrect information on the id used by
site:stage-deploy
Modified:
maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt
Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt?rev=1222599&r1=1222598&r2=1222599&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-site-plugin/src/site/apt/usage.apt Fri Dec 23
07:52:47 2011
@@ -137,11 +137,15 @@ mvn site:stage -DstagingDirectory=C:\ful
<<Note:>> <<<stagingDirectory>>> cannot be dynamic, i.e.
<<<stagingDirectory=$\{basedir\}\fullsite>>>
- To stage a site and to deploy it, just execute the
<<<{{{./stage-deploy-mojo.html}site:stage-deploy}}>>> goal from your project
- with the required parameters. The <<<site:stage-deploy>>> goal will use the
- id <<<stagingSite>>> for deployment. So if you need to add your username or
- password in <<<settings.xml>>>, you should use <<<\<id\>stagingSite\</id\>>>>
- for that <<<\<server\>>>> section. See the
+ To stage a site and to deploy it, just execute the
+ <<<{{{./stage-deploy-mojo.html}site:stage-deploy}}>>> goal from your project
+ with the required parameters.
+ The <<<site:stage-deploy>>> goal will use the value of
<<<distributionManagement.site.id>>> as default id
+ to lookup the server section in your <<<settings.xml>>>;
+ unless this is not defined, then the String <<<stagingSite>>> will be used
as id.
+ So if you need to add your username or password separately for stage-deploy
in <<<settings.xml>>>,
+ you should use <<<\<id\>stagingSite\</id\>>>> for that <<<\<server\>>>>
section.
+ See the
{{{http://maven.apache.org/guides/mini/guide-deployment-security-settings.html}Guide
to Deployment and Security Settings}}
for more information on this.