You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2009/02/28 10:15:47 UTC

svn commit: r748798 - /incubator/rat/main/trunk/pom.xml

Author: rdonkin
Date: Sat Feb 28 09:15:41 2009
New Revision: 748798

URL: http://svn.apache.org/viewvc?rev=748798&view=rev
Log:
Allow local staging of release website. RAT-38 https://issues.apache.org/jira/browse/RAT-38

Modified:
    incubator/rat/main/trunk/pom.xml

Modified: incubator/rat/main/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=748798&r1=748797&r2=748798&view=diff
==============================================================================
--- incubator/rat/main/trunk/pom.xml (original)
+++ incubator/rat/main/trunk/pom.xml Sat Feb 28 09:15:41 2009
@@ -47,6 +47,27 @@
   </description>
   <inceptionYear>2006</inceptionYear>
 
+  <properties>
+    <!--
+      Website properties allow local staging of the website
+      during release operations. For example:
+      <profiles>
+        <profile>
+           <id>main</id>
+           <activation>
+              <activeByDefault>true</activeByDefault>
+           </activation>
+           <properties>
+              <rat.www>scp://localhost/www</rat.www>
+              <rat.www.id>localhost</rat.www.id>
+      ...
+    -->
+    <!-- General location for site stage -->
+    <rat.www>scp://people.apache.org/www/incubator.apache.org/rat/</rat.www>
+    <!-- Overridding this value allows single set of loopback settings to be maintained -->
+    <rat.www.id>org.apache.rat.incubating</rat.www.id>
+  </properties>
+
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -263,9 +284,9 @@
 
   <distributionManagement>
     <site>
-      <id>org.apache.rat.incubating</id>
+      <id>${rat.www.id}</id>
       <name>Apache RAT Website</name>
-      <url>scp://people.apache.org/www/incubator.apache.org/rat/</url>
+      <url>${rat.www}</url>
     </site>
   </distributionManagement>