continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1427627 - /continuum/site/pom.xml
Date Wed, 02 Jan 2013 02:33:57 GMT
Author: brett
Date: Wed Jan  2 02:33:57 2013
New Revision: 1427627

URL: http://svn.apache.org/viewvc?rev=1427627&view=rev
Log:
use the root site publish URL in distributionManagement to make site:stage
happy, then override it in the site publish plugin with the correct location

Modified:
    continuum/site/pom.xml

Modified: continuum/site/pom.xml
URL: http://svn.apache.org/viewvc/continuum/site/pom.xml?rev=1427627&r1=1427626&r2=1427627&view=diff
==============================================================================
--- continuum/site/pom.xml (original)
+++ continuum/site/pom.xml Wed Jan  2 02:33:57 2013
@@ -29,12 +29,6 @@
   <url>http://continuum.apache.org/</url>
   <name>Continuum</name>
   <packaging>pom</packaging>
-  <distributionManagement>
-    <site>
-      <id>apache</id>
-      <url>scm:svn:${svnUrl}</url>
-    </site>
-  </distributionManagement>
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/continuum/site/</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/continuum/site/</developerConnection>
@@ -128,6 +122,12 @@
 
   <properties>
     <checkoutDirectory>site-publish</checkoutDirectory>
-    <svnUrl>https://svn.apache.org/repos/asf/continuum/site-publish</svnUrl>
   </properties>
+  <distributionManagement>
+    <!-- Site base required here for site:stage to calculate correct URLs -->
+    <site>
+      <id>apache</id>
+      <url>scm:svn:${rootSitePublishUrl}</url>
+    </site>
+  </distributionManagement>
 </project>



Mime
View raw message