configure svnpubsub for site deployment

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1378561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-08-29 13:57:57 +00:00
parent ef27c31c56
commit 40634e23db
3 changed files with 16 additions and 1 deletions

1
archiva-docs/README Normal file
View File

@ -0,0 +1 @@
to deploy site: sh ./deploySite.sh

View File

@ -0,0 +1 @@
mvn clean site-deploy && mvn scm-publish:publish-scm

View File

@ -29,6 +29,11 @@
<name>Archiva :: Documentation</name>
<url>http://archiva.apache.org/docs/${project.version}/</url>
<properties>
<siteFilePath>${user.home}/archiva-docs-${project.version}/</siteFilePath>
<scmPubCheckoutDirectory>${user.home}/archiva-docs-${project.version}-content</scmPubCheckoutDirectory>
</properties>
<build>
<pluginManagement>
<plugins>
@ -46,6 +51,14 @@
</excludes>
</configuration>
</plugin>
<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/docs/${project.version}</pubScmUrl>
<checkinComment>Apache Archiva Versionned docs for ${project.version}</checkinComment>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
@ -101,7 +114,7 @@
<distributionManagement>
<site>
<id>apache.website</id>
<url>${siteBaseDeployment}/docs/${project.version}</url>
<url>${siteUrlDeployment}</url>
</site>
</distributionManagement>