You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by jo...@apache.org on 2009/03/11 00:35:25 UTC

svn commit: r752305 - /incubator/rat/main/trunk/pom.xml

Author: jochen
Date: Tue Mar 10 23:35:25 2009
New Revision: 752305

URL: http://svn.apache.org/viewvc?rev=752305&view=rev
Log:
Preparing release using Nexus.

Modified:
    incubator/rat/main/trunk/pom.xml

Modified: incubator/rat/main/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=752305&r1=752304&r2=752305&view=diff
==============================================================================
--- incubator/rat/main/trunk/pom.xml (original)
+++ incubator/rat/main/trunk/pom.xml Tue Mar 10 23:35:25 2009
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>4</version>
+    <version>5</version>
   </parent>
   <groupId>org.apache.rat</groupId>
   <artifactId>apache-rat-project</artifactId>
@@ -224,6 +224,18 @@
         </plugin>
       </plugins>
     </pluginManagement>
+
+    <plugins>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.0-beta-8</version>
+        <configuration>
+          <useReleaseProfile>false</useReleaseProfile>
+          <goals>deploy</goals>
+          <arguments>-Prelease</arguments>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <issueManagement>
@@ -319,6 +331,30 @@
       <id>release</id>
       <build>
         <plugins>
+          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+          <plugin>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <configuration>
+              <passphrase>${gpg.passphrase}</passphrase>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <!-- We want to deploy the artifact to a staging location for perusal -->
+          <plugin>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+
           <plugin>
             <artifactId>maven-remote-resources-plugin</artifactId>
             <version>1.0</version>
@@ -338,9 +374,10 @@
               </execution>
             </executions>
           </plugin>
+
           <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.4</version>
+            <version>2.5</version>
             <executions>
               <execution>
                 <id>create-javadocs</id>
@@ -349,11 +386,14 @@
                   <goal>javadoc</goal>
                   <goal>jar</goal>
                 </goals>
+                <configuration>
+                  <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
               </execution>
             </executions>
           </plugin>
+
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-source-plugin</artifactId>
             <version>2.0.4</version>
             <executions>