maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1421266 - in /maven/plugins/trunk: maven-compiler-plugin/pom.xml maven-plugins/pom.xml
Date Thu, 13 Dec 2012 12:53:44 GMT
Author: olamy
Date: Thu Dec 13 12:53:43 2012
New Revision: 1421266

URL: http://svn.apache.org/viewvc?rev=1421266&view=rev
Log:
configure site deployment with svnpubsub

Modified:
    maven/plugins/trunk/maven-compiler-plugin/pom.xml
    maven/plugins/trunk/maven-plugins/pom.xml

Modified: maven/plugins/trunk/maven-compiler-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/pom.xml?rev=1421266&r1=1421265&r2=1421266&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/pom.xml Thu Dec 13 12:53:43 2012
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>23</version>
+    <version>24-SNAPSHOT</version>
     <relativePath>../maven-plugins/pom.xml</relativePath>
   </parent>
 

Modified: maven/plugins/trunk/maven-plugins/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-plugins/pom.xml?rev=1421266&r1=1421265&r2=1421266&view=diff
==============================================================================
--- maven/plugins/trunk/maven-plugins/pom.xml (original)
+++ maven/plugins/trunk/maven-plugins/pom.xml Thu Dec 13 12:53:43 2012
@@ -46,12 +46,19 @@ under the License.
     <url>https://builds.apache.org/job/maven-plugins/</url>
   </ciManagement>
 
-  <distributionManagement>
+  <!--distributionManagement>
     <site>
       <id>apache.website</id>
       <url>scp://people.apache.org/www/maven.apache.org/plugins/</url>
     </site>
-  </distributionManagement>
+  </distributionManagement-->
+
+  <properties>
+    <maven.sites.cache>${user.home}/maven-sites</maven.sites.cache>
+    <siteFilePath>${maven.sites.cache}/plugins/${project.artifactId}-${project.version}</siteFilePath>
+    <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+    <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/plugins-archives/${project.artifactId}-${project.version}</svnUrl>
+  </properties>
 
   <repositories>
     <repository>
@@ -109,9 +116,10 @@ under the License.
           </configuration>
         </plugin>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
           <configuration>
-            <stagingSiteURL>scp://people.apache.org/www/maven.apache.org/plugins/${project.artifactId}-${project.version}</stagingSiteURL>
+            <skipDeploy>true</skipDeploy>
           </configuration>
         </plugin>
       </plugins>
@@ -151,6 +159,28 @@ under the License.
           </execution>
         </executions>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <version>1.0-beta-2</version>
+        <configuration>
+          <checkinComment>${project.name} site deployment</checkinComment>
+          <pubScmUrl>scm:svn:${svnUrl}</pubScmUrl>
+          <checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory>
+          <content>${project.reporting.outputDirectory}</content>
+        </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
   </build>
 
@@ -161,6 +191,11 @@ under the License.
         <artifactId>maven-plugin-plugin</artifactId>
         <version>3.2</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.6</version>
+      </plugin>
     </plugins>
   </reporting>
 
@@ -225,6 +260,16 @@ under the License.
       </build>
     </profile>
     <profile>
+      <id>site-release</id>
+      <properties>
+
+        <siteFilePath>${maven.sites.cache}/plugins/${project.artifactId}</siteFilePath>
+        <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+        <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/plugins/${project.artifactId}</svnUrl>
+
+      </properties>
+    </profile>
+    <profile>
       <id>reporting</id>
       <reporting>
         <plugins>



Mime
View raw message