You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2013/01/02 03:33:57 UTC

svn commit: r1427627 - /continuum/site/pom.xml

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>