You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2013/09/19 23:03:32 UTC

git commit: simplified scm-publish site publish configuration

Updated Branches:
  refs/heads/master 7bdc8b3b6 -> 6c82f9cc5


simplified scm-publish site publish configuration

Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/6c82f9cc
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/6c82f9cc
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/6c82f9cc

Branch: refs/heads/master
Commit: 6c82f9cc59d199c5789e27f2016f24c1bf9ed0e8
Parents: 7bdc8b3
Author: Hervé Boutemy <hb...@apache.org>
Authored: Thu Sep 19 23:03:29 2013 +0200
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Thu Sep 19 23:03:29 2013 +0200

----------------------------------------------------------------------
 pom.xml | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/6c82f9cc/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2e0c5fc..1774548 100644
--- a/pom.xml
+++ b/pom.xml
@@ -119,10 +119,7 @@
 
     <maven.surefire.scm.devConnection>scm:git:https://git-wip-us.apache.org/repos/asf/maven-surefire.git</maven.surefire.scm.devConnection>
 
-    <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}/maven-surefire-site-content-${project.version}</maven.surefire.scmPubCheckoutDirectory>
-    <maven.surefire.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/surefire-archives/maven-surefire-${project.version}</maven.surefire.scmPubUrl>
+    <maven.site.path>surefire-archives/surefire-LATEST</maven.site.path>
   </properties>
 
   <distributionManagement>
@@ -326,10 +323,8 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-scm-publish-plugin</artifactId>
           <configuration>
-            <checkoutDirectory>${maven.surefire.scmPubCheckoutDirectory}</checkoutDirectory>
-            <pubScmUrl>scm:svn:${maven.surefire.scmPubUrl}</pubScmUrl>
-            <checkinComment>Apache Maven Surefire site deployment</checkinComment>
-            <content>${maven.surefire.siteFilePath}</content>
+            <content>${project.build.directory}/staging/${maven.site.path}</content>
+            <checkoutDirectory>${maven.site.cache}/${maven.site.path}</checkoutDirectory>
             <tryUpdate>true</tryUpdate>
           </configuration>
         </plugin>
@@ -470,14 +465,5 @@
         </plugins>
       </build>
     </profile>
-    <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}/maven-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>
   </profiles>
 </project>