Author: olamy
Date: Tue Sep  4 17:23:37 2012
New Revision: 1380745

URL: http://svn.apache.org/viewvc?rev=1380745&view=rev
Log:
add documentation for multi modules deploy

Added:
    
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
   (with props)
Modified:
    
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/one-module-configuration.apt.vm
    maven/plugins/trunk/maven-scm-publish-plugin/src/site/site.xml

Added: 
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=1380745&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
 (added)
+++ 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
 Tue Sep  4 17:23:37 2012
@@ -0,0 +1,63 @@
+ ------
+ Maven Multi Module Configuration
+ ------
+ Olivier Lamy
+ ------
+ 2012-09-04
+ ------
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Maven Multi Module Configuration
+
+  With a multi modules build you can not use: <<mvn site-deploy>>. You must 
stage your site first.
+
+  Cli to use: mvn clean site site:stage-deploy scm-publish:publish-scm
+
++-----------------------
+
+  <properties>
+    <siteContentPath>${user.home}/my-site-deploy</siteContentPath>
+    <scmCheckoutPath>${user.home}/my-site-content</scmCheckoutPath>
+    <siteDeployUrl>file://${siteContentPath}</siteDeployUrl>
+  </properties>
+
+  <plugin>
+    <groupId>org.apache.maven.plugins</groupId>
+    <artifactId>maven-scm-publish-plugin</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <configuration>
+      <checkoutDirectory>$\{scmCheckoutPath}</checkoutDirectory>
+      <content>$\{siteContentPath}</content>
+    </configuration>
+  </plugin>
+  <plugin>
+    <groupId>org.apache.maven.plugins</groupId>
+    <artifactId>maven-site-plugin</artifactId>
+    <version>3.1</version>
+    <configuration>
+      <stagingSiteURL>$\{siteDeployUrl}</stagingSiteURL>
+    </configuration>
+  </plugin>
+
++-----------------------
+
+

Propchange: 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/one-module-configuration.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/one-module-configuration.apt.vm?rev=1380745&r1=1380744&r2=1380745&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/one-module-configuration.apt.vm
 (original)
+++ 
maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/one-module-configuration.apt.vm
 Tue Sep  4 17:23:37 2012
@@ -71,7 +71,6 @@ Maven Mono Module Configuration
         </execution>
       </executions>
     </plugin>
-    </plugins>
 
 +-----------------------
 

Modified: maven/plugins/trunk/maven-scm-publish-plugin/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-scm-publish-plugin/src/site/site.xml?rev=1380745&r1=1380744&r2=1380745&view=diff
==============================================================================
--- maven/plugins/trunk/maven-scm-publish-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-scm-publish-plugin/src/site/site.xml Tue Sep  4 
17:23:37 2012
@@ -30,6 +30,7 @@ under the License.
     </menu>
     <menu name="Example">
       <item name="Maven Mono Module Configuration" 
href="examples/one-module-configuration.html"/>
+      <item name="Maven Multi module Configuration" 
href="examples/multi-module-configuration.html"/>
       <item name="Importing Maven sites" 
href="examples/importing-maven-site.html"/>
     </menu>
   </body>


Reply via email to