You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/02/09 13:04:14 UTC

svn commit: r742419 - /james/mailet/crypto/trunk/pom.xml

Author: rdonkin
Date: Mon Feb  9 12:04:13 2009
New Revision: 742419

URL: http://svn.apache.org/viewvc?rev=742419&view=rev
Log:
Use properties to allow site deployment to be overriden for local staging. MAILETCRYPTO-1

Modified:
    james/mailet/crypto/trunk/pom.xml

Modified: james/mailet/crypto/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mailet/crypto/trunk/pom.xml?rev=742419&r1=742418&r2=742419&view=diff
==============================================================================
--- james/mailet/crypto/trunk/pom.xml (original)
+++ james/mailet/crypto/trunk/pom.xml Mon Feb  9 12:04:13 2009
@@ -45,12 +45,38 @@
   </parent>
   <url>http://james.apache.org/mailet/crypto/</url>
   <inceptionYear>2008</inceptionYear>
-
-  <distributionManagement>
-    <site>
-      <id>crypto-mailet-website</id>
-      <url>scp://people.apache.org/www/james.apache.org/mailet/crypto/</url>
-    </site>
+
+  <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.cryptomailets.www>${james.www}/mailet/crypto/</james.cryptomailets.www>
+    <!-- Overridding this value allows single set of loopback settings to be maintained -->
+    <james.www.id>crypto-mailet-website</james.www.id>
+  </properties>
+
+  <distributionManagement>
+    <site>
+      <id>${james.www.id}</id>
+      <url>${james.cryptomailets.www}</url>
+    </site>
   </distributionManagement>
 
   <issueManagement>



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