maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1592351 - /maven/plugins/trunk/maven-scm-publish-plugin/src/site/apt/examples/multi-module-configuration.apt.vm
Date Sun, 04 May 2014 14:28:56 GMT
Author: hboutemy
Date: Sun May  4 14:28:56 2014
New Revision: 1592351

URL: http://svn.apache.org/r1592351
Log:
added information on topSiteURL configuration for site:stage

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=1592351&r1=1592350&r2=1592351&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
Sun May  4 14:28:56 2014
@@ -40,3 +40,33 @@ mvn scm-publish:publish-scm
 
   These commands work well with mono-module too, even if mono-module could permit some optimizations
(everything can be run
   in only one Maven invocation).
+
+* Avoiding Extra Path During Staging
+
+  When staging the site, sometimes extra directories appear between <<<target/staging>>>
and the effective root of the site:
+  this is caused by the auto-detection algorithm of site root, which cannot detect at which
level to stop.
+
+  This can be fixed by configuring the {{{/plugins/maven-site-plugin/stage-mojo.html#topSiteURL}site
plugin's topSiteURL parameter}}
+  (added in version 3.3) with top distribution management site url in a parent pom:
+
++-----+
+  <distributionManagement>
+    <site>
+      <id>site</id>
+      <url>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/bimargulies/site-test</url>
+    </site>
+  </distributionManagement>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <configuration>
+            <topSiteURL>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/bimargulies/site-test</topSiteURL>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
++-----+



Mime
View raw message