You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/01/25 15:47:07 UTC

svn commit: r1561319 - /maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm

Author: hboutemy
Date: Sat Jan 25 14:47:07 2014
New Revision: 1561319

URL: http://svn.apache.org/r1561319
Log:
fixed instructions: site:stage and publish-scm must be run in two separate invocations

Modified:
    maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm

Modified: maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm?rev=1561319&r1=1561318&r2=1561319&view=diff
==============================================================================
--- maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm (original)
+++ maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm Sat Jan 25 14:47:07 2014
@@ -29,18 +29,18 @@
 
 Maven Multi Module Configuration
 
-  With a multi modules build you can not use: mvn site-deploy. You must stage your site first.
+  With a multi modules build, you cannot use: <<<mvn site-deploy>>>. You must stage your site first.
 
-  Cli command to use: <<mvn site site:stage scm-publish:publish-scm>>
+  Cli command to use: <<<mvn -Preporting site site:stage>>> then <<<mvn scm-publish:publish-scm>>>
 
 +-----------------------
 
   <properties>
     <!-- override the property in your settings -->
     <site.mainDirectory>${user.home}</site.mainDirectory>
-    // it's a default location for performance reason (not checkout the content all the time)
+    // it's a default location for performance reason (avoid checkout the content on every build)
     // you can override this value in your settings.
-    <scmCheckout.path>${site.mainDirectory}</scmCheckout.path>
+    <scmCheckout.path>${site.mainDirectory}/$\{project.artifactId}</scmCheckout.path>
   </properties>
 
   <plugin>