james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r767598 - /james/jsieve/trunk/pom.xml
Date Wed, 22 Apr 2009 18:08:54 GMT
Author: rdonkin
Date: Wed Apr 22 18:08:53 2009
New Revision: 767598

URL: http://svn.apache.org/viewvc?rev=767598&view=rev
Log:
Introduce variables to allow local staging of website

Modified:
    james/jsieve/trunk/pom.xml

Modified: james/jsieve/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=767598&r1=767597&r2=767598&view=diff
==============================================================================
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Wed Apr 22 18:08:53 2009
@@ -36,6 +36,33 @@
   <url>http://james.apache.org/jsieve/</url>
   <inceptionYear>2008</inceptionYear>
   
+  <properties>
+    <!--
+    The website is committed to subversion. This property can be overriden
+    to upload the site to a local staging location.
+    For example, adding the following to ~/.m2/settings.xml will upload
+    to localhost:
+    
+      <profiles>
+        <profile>
+           <id>main</id>
+           <activation>
+              <activeByDefault>true</activeByDefault>
+           </activation>
+           <properties>
+              <james.www>scp://localhost/www</james.www>
+              <james.www.id>localhost</james.www.id>
+      ...
+    -->
+    <!-- General location for site stage -->
+    <james.www>scp://people.apache.org/www/james.apache.org/</james.www>
+    <!-- Project specific location, allowing specific override -->
+    <james.jsieve.www>${james.www}/jsieve/</james.jsieve.www>
+    <!-- Overridding this value allows single set of loopback settings to be maintained
-->
+    <james.www.id>jsieve-website</james.www.id>
+  </properties>
+  
+  
   <modules>
     <module>main</module>
     <module>mailet</module>
@@ -74,8 +101,8 @@
 
   <distributionManagement>
     <site>
-      <id>jsieve-current-website</id>
-      <url>scp://people.apache.org/www/james.apache.org/jsieve/current/</url>
+      <id>${james.www.id}</id>
+      <url>${james.jsieves.www}</url>
     </site>
   </distributionManagement>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message