]> source.dussan.org Git - archiva.git/commitdiff
configure scm pub plugin
authorOlivier Lamy <olamy@apache.org>
Wed, 29 Aug 2012 14:24:50 +0000 (14:24 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 29 Aug 2012 14:24:50 +0000 (14:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1378576 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/pom.xml

index 3812468932c1f18f64b0a5cf9e68731cd471454c..326d02c30fcf9239b5df6fa81bf98ebfe4a6a4ce 100644 (file)
   <packaging>pom</packaging>
   <name>Archiva :: Modules</name>
   <url>http://archiva.apache.org/ref/${project.version}</url>
+
+  <properties>
+    <siteFilePath>${user.home}/archiva-ref-${project.version}/</siteFilePath>
+    <scmPubCheckoutDirectory>${user.home}/archiva-ref-${project.version}-content</scmPubCheckoutDirectory>
+  </properties>
+
   <modules>
     <module>archiva-base</module>
     <module>archiva-scheduler</module>
     <module>metadata</module>
     <module>plugins</module>
   </modules>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <configuration>
+            <pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/ref/${project.version}</pubScmUrl>
+            <checkinComment>Apache Archiva Versionned ref for ${project.version}</checkinComment>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <reporting>
     <plugins>
       
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>${siteBaseDeployment}/ref/${project.version}</url>
+      <url>${siteUrlDeployment}</url>
     </site>
   </distributionManagement>
 </project>