prepared svnpubsub for site

This commit is contained in:
Hervé Boutemy 2012-12-15 10:48:38 +01:00
parent 68a54c7e22
commit 866f2c58b8
1 changed files with 12 additions and 6 deletions

18
pom.xml
View File

@ -38,7 +38,7 @@
number of other development tools for reporting or the build number of other development tools for reporting or the build
process. process.
</description> </description>
<url>${siteUrl}</url> <url>http://maven.apache.org/ref/${project.version}</url>
<inceptionYear>2001</inceptionYear> <inceptionYear>2001</inceptionYear>
<properties> <properties>
@ -62,10 +62,7 @@
<distributionId>apache-maven</distributionId> <distributionId>apache-maven</distributionId>
<distributionShortName>Maven</distributionShortName> <distributionShortName>Maven</distributionShortName>
<distributionName>Apache Maven</distributionName> <distributionName>Apache Maven</distributionName>
<maven.site.cache>${user.home}/maven-sites</maven.site.cache><!-- TODO remove when upgrading parent to 23 -->
<siteDeployUrl>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</siteDeployUrl>
<siteUrl>http://maven.apache.org/ref/${project.version}/</siteUrl>
</properties> </properties>
<modules> <modules>
@ -100,7 +97,7 @@
<distributionManagement> <distributionManagement>
<site> <site>
<id>apache.website</id> <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> </site>
</distributionManagement> </distributionManagement>
@ -412,6 +409,15 @@
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </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> </plugins>
</pluginManagement> </pluginManagement>
<plugins> <plugins>