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 12:11:01 UTC

svn commit: r742396 - /james/mailet/base/trunk/pom.xml

Author: rdonkin
Date: Mon Feb  9 11:11:00 2009
New Revision: 742396

URL: http://svn.apache.org/viewvc?rev=742396&view=rev
Log:
Use properties to allow the site deployment URL to be overridden in settings.xml.

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

Modified: james/mailet/base/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mailet/base/trunk/pom.xml?rev=742396&r1=742395&r2=742396&view=diff
==============================================================================
--- james/mailet/base/trunk/pom.xml (original)
+++ james/mailet/base/trunk/pom.xml Mon Feb  9 11:11:00 2009
@@ -37,11 +37,33 @@
   </parent>
   <url>http://james.apache.org/mailet/base/</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>
+      ...
+    -->
+    <james.www>scp://people.apache.org/www/james.apache.org/</james.www>
+    <james.www.id>>mailet-base-website</james.www.id>
+  </properties>
 
   <distributionManagement>
     <site>
-      <id>mailet-base-website</id>
-      <url>scp://people.apache.org/www/james.apache.org/mailet/base/</url>
+      <id>${james.www.id}</id>
+      <url>${james.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