fix site deployment properties
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/3c61839e Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/3c61839e Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/3c61839e Branch: refs/heads/master Commit: 3c61839eaeb32cb4bdd489a257bc5703e3d31ffb Parents: 8970909 Author: olivier lamy <ol...@apache.org> Authored: Tue Dec 11 21:40:36 2012 +0100 Committer: olivier lamy <ol...@apache.org> Committed: Tue Dec 11 21:40:36 2012 +0100 ---------------------------------------------------------------------- pom.xml | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3c61839e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 59bded4..fa636bd 100644 --- a/pom.xml +++ b/pom.xml @@ -116,9 +116,9 @@ <shadedVersion>2.12.4</shadedVersion> <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion> <maven.site.cache>${user.home}/maven-sites</maven.site.cache> - <maven.surefire.siteFilePath>${maven.site.cache}/surefire/</maven.surefire.siteFilePath> + <maven.surefire.siteFilePath>${maven.site.cache}/surefire-${project.version}/</maven.surefire.siteFilePath> <maven.surefire.siteUrlDeployment>file://${maven.surefire.siteFilePath}</maven.surefire.siteUrlDeployment> - <maven.surefire.scmPubCheckoutDirectory>${maven.site.cache}/surefire-site-content</maven.surefire.scmPubCheckoutDirectory> + <maven.surefire.scmPubCheckoutDirectory>${maven.site.cache}/surefire-site-content-${project.version}</maven.surefire.scmPubCheckoutDirectory> <maven.surefire.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/surefire-${project.version}</maven.surefire.scmPubUrl> </properties> @@ -302,7 +302,7 @@ <version>1.0-beta-2</version> <configuration> <checkoutDirectory>${maven.surefire.scmPubCheckoutDirectory}</checkoutDirectory> - <pubScmUrl>scm:svn:</pubScmUrl> + <pubScmUrl>scm:svn:${maven.surefire.scmPubUrl}</pubScmUrl> <checkinComment>Apache Maven Surefire site deployment</checkinComment> <content>${maven.surefire.siteFilePath}</content> <tryUpdate>true</tryUpdate> @@ -412,6 +412,9 @@ <profile> <id>site-release</id> <properties> + <maven.surefire.siteFilePath>${maven.site.cache}/surefire</maven.surefire.siteFilePath> + <maven.surefire.siteUrlDeployment>file://${maven.surefire.siteFilePath}</maven.surefire.siteUrlDeployment> + <maven.surefire.scmPubCheckoutDirectory>${maven.site.cache}/surefire-site-content</maven.surefire.scmPubCheckoutDirectory> <maven.surefire.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/surefire</maven.surefire.scmPubUrl> </properties> </profile>