Modified:
websites/production/maventest/content/plugins/maven-scm-publish-plugin/examples/multi-module-configuration.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-scm-publish-plugin/examples/multi-module-configuration.html
(original)
+++
websites/production/maventest/content/plugins/maven-scm-publish-plugin/examples/multi-module-configuration.html
Tue Sep 4 20:13:48 2012
@@ -158,9 +158,9 @@
<div id="contentBox">
<!-- 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/referen
ces/apt-format.html --><div class="section"><h2>Maven Multi Module
Configuration<a name="Maven_Multi_Module_Configuration"></a></h2><p>With a
multi modules build you can not use: mvn site-deploy. You must stage your site
first.</p><p>Cli to use: <b>mvn clean site site:stage-deploy
scm-publish:publish-scm</b></p><div class="source"><pre>
<properties>
- <siteContentPath>${user.home}/my-site-deploy</siteContentPath>
- <scmCheckoutPath>${user.home}/my-site-content</scmCheckoutPath>
- <siteDeployUrl>file://${siteContentPath}</siteDeployUrl>
+
<siteContent.path>${user.home}/my-site-deploy</siteContent.path>
+
<scmCheckout.path>${user.home}/my-site-content</scmCheckout.path>
+ <siteDeploy.url>file://${siteContent.path}</siteDeploy.url>
</properties>
<plugin>
@@ -168,8 +168,8 @@
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
- <checkoutDirectory>$\{scmCheckoutPath}</checkoutDirectory>
- <content>$\{siteContentPath}</content>
+ <checkoutDirectory>${scmCheckout.path}</checkoutDirectory>
+ <content>${siteContent.path}</content>
</configuration>
</plugin>
<plugin>
@@ -177,7 +177,7 @@
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<configuration>
- <stagingSiteURL>$\{siteDeployUrl}</stagingSiteURL>
+ <stagingSiteURL>${siteDeploy.url}</stagingSiteURL>
</configuration>
</plugin>
</pre></div></div>
Modified:
websites/production/maventest/content/plugins/maven-scm-publish-plugin/various-tips.html
==============================================================================
---
websites/production/maventest/content/plugins/maven-scm-publish-plugin/various-tips.html
(original)
+++
websites/production/maventest/content/plugins/maven-scm-publish-plugin/various-tips.html
Tue Sep 4 20:13:48 2012
@@ -156,7 +156,26 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <!-- 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/referen
ces/apt-format.html --><div class="section"><h2>Various tips for using this
plugin<a name="Various_tips_for_using_this_plugin"></a></h2><div
class="section"><h3>Some Tips to improve performance<a
name="Some_Tips_to_improve_performance"></a></h3><p>By default, a complete
checkout is done, you can configure the plugin to try update rather than a full
checkout/clone</p><div class="source"><pre>
+ <!-- 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/referen
ces/apt-format.html --><div class="section"><h2>Various tips for using this
plugin<a name="Various_tips_for_using_this_plugin"></a></h2><div
class="section"><h3>URLS format<a name="URLS_format"></a></h3><p>You must a scm
url format: +----------------
scm:<i>scm_provider</i><i>delimiter</i><i>provider_specific_part</i>
+----------------</p><p>Svn example:
scm:svn:https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-scm-publish-plugin/</p><p>And
configure is as it:</p><div class="source"><pre>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <pubScmUrl>scmUrl</pubScmUrl>
+ </configuration>
+ </plugin>
+</pre></div><p><tt>NOTE</tt>: with the svn if the remote url doesn't exist it
will be created.</p><p>To use git branch (by example: github gh-pages)</p><div
class="source"><pre>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <scmBranch>gh-pages</scmBranch>
+
<pubScmUrl>scm:git:[email protected]:olamy/tomcat-foo-artifact.git</pubScmUrl>
+ </configuration>
+ </plugin>
+</pre></div></div><div class="section"><h3>Some Tips to improve performance<a
name="Some_Tips_to_improve_performance"></a></h3><p>By default, a complete
checkout is done, you can configure the plugin to try update rather than a full
checkout/clone</p><div class="source"><pre>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>