Author: rdonkin
Date: Thu May 14 19:54:54 2009
New Revision: 774901

URL: http://svn.apache.org/viewvc?rev=774901&view=rev
Log:
Allow distribution to be overriden

Modified:
    james/mpt/trunk/pom.xml

Modified: james/mpt/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/pom.xml?rev=774901&r1=774900&r2=774901&view=diff
==============================================================================
--- james/mpt/trunk/pom.xml (original)
+++ james/mpt/trunk/pom.xml Thu May 14 19:54:54 2009
@@ -34,7 +34,7 @@
   <issueManagement>
     <url>http://issues.apache.org/jira/browse/MPT</url>
   </issueManagement>
-  <inceptionYear>2008</inceptionYear>
+  <inceptionYear>2008</inceptionYear>  
   <packaging>pom</packaging>
   <modules>
     <module>main</module>
@@ -248,8 +248,8 @@
 
   <distributionManagement>
     <site>
-      <id>website</id>
-      <url>scp://people.apache.org/www/james.apache.org/mpt/</url>
+      <id>${james.www.id}</id>
+      <url>${james.mpt.www}</url>
     </site>
   </distributionManagement>
   <dependencyManagement>
@@ -321,6 +321,29 @@
   <profiles>
   </profiles>
   <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.mpt.www>${james.www}/mpt/</james.mpt.www>
+    <!-- Overridding this value allows single set of loopback settings to be 
maintained -->
+    <james.www.id>mpt-website</james.www.id>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to