mirror of https://github.com/apache/archiva.git
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:
parent
ef27c31c56
commit
40634e23db
|
@ -0,0 +1 @@
|
|||
to deploy site: sh ./deploySite.sh
|
|
@ -0,0 +1 @@
|
|||
mvn clean site-deploy && mvn scm-publish:publish-scm
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue