Updated Branches:
  refs/heads/master 68a54c7e2 -> 866f2c58b

prepared svnpubsub for site

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/866f2c58
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/866f2c58
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/866f2c58

Branch: refs/heads/master
Commit: 866f2c58b85a6a34297b913a69569535f5f84684
Parents: 68a54c7
Author: Hervé Boutemy <[email protected]>
Authored: Sat Dec 15 10:48:38 2012 +0100
Committer: Hervé Boutemy <[email protected]>
Committed: Sat Dec 15 10:48:38 2012 +0100

----------------------------------------------------------------------
 pom.xml |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/866f2c58/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d673939..7ed3df4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,7 @@
     number of other development tools for reporting or the build
     process.
   </description>
-  <url>${siteUrl}</url>
+  <url>http://maven.apache.org/ref/${project.version}</url>
   <inceptionYear>2001</inceptionYear>
 
   <properties>
@@ -62,10 +62,7 @@
     <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>
-
+    <maven.site.cache>${user.home}/maven-sites</maven.site.cache><!-- TODO 
remove when upgrading parent to 23 -->
   </properties>
 
   <modules>
@@ -100,7 +97,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>${siteDeployUrl}</url>
+      
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/ref/${project.version}</url>
     </site>
   </distributionManagement>
 
@@ -412,6 +409,15 @@
             </dependency>
           </dependencies>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <version>1.0-beta-2</version>
+          <configuration>
+            
<checkoutDirectory>${maven.site.cache}/ref/${project.version}</checkoutDirectory>
+            <tryUpdate>true</tryUpdate>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

Reply via email to