You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2011/12/01 09:20:17 UTC

svn commit: r1208990 - /maven/maven-3/trunk/pom.xml

Author: olamy
Date: Thu Dec  1 08:20:16 2011
New Revision: 1208990

URL: http://svn.apache.org/viewvc?rev=1208990&view=rev
Log:
add properties to ease site stage deploy

Modified:
    maven/maven-3/trunk/pom.xml

Modified: maven/maven-3/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/pom.xml?rev=1208990&r1=1208989&r2=1208990&view=diff
==============================================================================
--- maven/maven-3/trunk/pom.xml (original)
+++ maven/maven-3/trunk/pom.xml Thu Dec  1 08:20:16 2011
@@ -38,7 +38,7 @@
     number of other development tools for reporting or the build
     process.
   </description>
-  <url>http://maven.apache.org/ref/${project.version}/</url>
+  <url>${siteUrl}</url>
   <inceptionYear>2001</inceptionYear>
 
   <properties>
@@ -61,6 +61,10 @@
     <distributionId>apache-maven</distributionId>
     <distributionShortName>Maven</distributionShortName>
     <distributionName>Apache Maven</distributionName>
+
+    <siteDeployUrl>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</siteDeployUrl>
+    <siteUrl>http://maven.apache.org/ref/${project.version}/</siteUrl>
+
   </properties>
 
   <mailingLists>
@@ -170,7 +174,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</url>
+      <url>${siteDeployUrl}</url>
     </site>
   </distributionManagement>