james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r742419 - /james/mailet/crypto/trunk/pom.xml
Date Mon, 09 Feb 2009 12:04:14 GMT
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


Mime
View raw message