diff options
author | Olivier Lamy <olamy@apache.org> | 2012-08-29 14:24:50 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-08-29 14:24:50 +0000 |
commit | e67feecd6b2fb03a30efd2259b7bdaff043aba6b (patch) | |
tree | a4ac99ce2868f9904f4f9721a2d63b60b997f8df | |
parent | 40634e23dbc49354adab5bfbc807c9cf2e01fc05 (diff) | |
download | archiva-e67feecd6b2fb03a30efd2259b7bdaff043aba6b.tar.gz archiva-e67feecd6b2fb03a30efd2259b7bdaff043aba6b.zip |
configure scm pub plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1378576 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/pom.xml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml index 381246893..326d02c30 100644 --- a/archiva-modules/pom.xml +++ b/archiva-modules/pom.xml @@ -28,6 +28,12 @@ <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> @@ -36,6 +42,22 @@ <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> @@ -129,7 +151,7 @@ <distributionManagement> <site> <id>apache.website</id> - <url>${siteBaseDeployment}/ref/${project.version}</url> + <url>${siteUrlDeployment}</url> </site> </distributionManagement> </project> |