maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject git commit: Revert "o simplified maven-scm-publish-plugin configuration" prevent easy site publication.
Date Tue, 05 Feb 2013 20:25:39 GMT
Updated Branches:
  refs/heads/master b376af55b -> bcbb8d131


Revert "o simplified maven-scm-publish-plugin configuration"
prevent easy site publication.

This reverts commit d34b8557cc6d629944bbfa3863e737636d81871a.


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

Branch: refs/heads/master
Commit: bcbb8d131d32e1fc562231fd51ba54b245df44bd
Parents: b376af5
Author: olivier lamy <olamy@apache.org>
Authored: Tue Feb 5 21:24:59 2013 +0100
Committer: olivier lamy <olamy@apache.org>
Committed: Tue Feb 5 21:24:59 2013 +0100

----------------------------------------------------------------------
 pom.xml |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/bcbb8d13/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a914f36..d507bfe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,13 +34,20 @@ under the License.
 
   <name>Apache Maven Wagon</name>
   <description>Tools to manage artifacts and deployment</description>
-  <url>http://maven.apache.org/wagon</url>
+  <url>${siteUrl}</url>
   <inceptionYear>2003</inceptionYear>
 
   <properties>
+    <siteDeployUrl>scp://people.apache.org/www/maven.apache.org/wagon/</siteDeployUrl>
+    <siteUrl>http://maven.apache.org/wagon-archives/wagon-${project.version}</siteUrl>
     <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
     <slf4jVersion>1.7.2</slf4jVersion>
-    <maven.site.path>wagon-archives/wagon-LATEST</maven.site.path>
+
+    <maven.wagon.siteFilePath>${maven.site.cache}/maven-wagon-${project.version}</maven.wagon.siteFilePath>
+    <maven.wagon.siteUrlDeployment>file://${maven.wagon.siteFilePath}</maven.wagon.siteUrlDeployment>
+    <maven.wagon.scmPubCheckoutDirectory>${maven.site.cache}/maven-wagon-site-content-${project.version}</maven.wagon.scmPubCheckoutDirectory>
+    <maven.wagon.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/wagon-archives/wagon-${project.version}</maven.wagon.scmPubUrl>
+
   </properties>
 
   <contributors>
@@ -201,7 +208,7 @@ under the License.
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
+      <url>${maven.wagon.siteUrlDeployment}</url>
     </site>
   </distributionManagement>
 
@@ -360,7 +367,10 @@ under the License.
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-scm-publish-plugin</artifactId>
           <configuration>
-            <checkoutDirectory>${maven.site.cache}/${maven.site.path}</checkoutDirectory>
+            <checkoutDirectory>${maven.wagon.scmPubCheckoutDirectory}</checkoutDirectory>
+            <pubScmUrl>scm:svn:${maven.wagon.scmPubUrl}</pubScmUrl>
+            <checkinComment>Apache Maven Wagon site deployment</checkinComment>
+            <content>${maven.wagon.siteFilePath}</content>
             <tryUpdate>true</tryUpdate>
           </configuration>
         </plugin>
@@ -559,6 +569,14 @@ under the License.
         </plugins>
       </reporting>
     </profile>
+
+    <profile>
+      <id>site-release</id>
+      <properties>
+        <maven.site.path>${project.artifactId}</maven.site.path>
+      </properties>
+    </profile>
+
   </profiles>
   
 </project>


Mime
View raw message