ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1104312 - /incubator/ace/trunk/pom/pom.xml
Date Tue, 17 May 2011 15:04:05 GMT
Author: jbonofre
Date: Tue May 17 15:04:05 2011
New Revision: 1104312

URL: http://svn.apache.org/viewvc?rev=1104312&view=rev
Log:
Upgrade the maven release configuration and profiles.

Modified:
    incubator/ace/trunk/pom/pom.xml

Modified: incubator/ace/trunk/pom/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/pom/pom.xml?rev=1104312&r1=1104311&r2=1104312&view=diff
==============================================================================
--- incubator/ace/trunk/pom/pom.xml (original)
+++ incubator/ace/trunk/pom/pom.xml Tue May 17 15:04:05 2011
@@ -30,7 +30,7 @@
     <groupId>org.apache.ace</groupId>
     <artifactId>ace-pom</artifactId>
     <name>Apache ACE :: POM</name>
-    <version>0.8.0-incubator</version>
+    <version>0.8.0-incubator-SNAPSHOT</version>
     <packaging>pom</packaging>
     <inceptionYear>2009</inceptionYear>
 
@@ -277,6 +277,17 @@
                     <artifactId>maven-paxexam-plugin</artifactId>
                     <version>${pax.exam.version}</version>
                 </plugin>
+                <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-release-plugin</artifactId>
+                  <version>2.1</version>
+                  <configuration>
+                     <preparationGoals>clean install</preparationGoals>
+                     <goals>deploy</goals>
+                     <arguments>-Prelease,deploy</arguments>
+                     <autoVersionSubmodules>false</autoVersionSubmodules>
+                  </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
 
@@ -846,4 +857,74 @@
         </dependencies>
     </dependencyManagement>
 
+    <profiles>
+
+      <profile>
+         <id>release</id>
+         <build>
+            <plugins>
+               <!-- We want to deploy the artifact to a staging location for perusal -->
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-deploy-plugin</artifactId>
+                  <inherited>true</inherited>
+                  <version>2.5</version>
+                  <configuration>
+                     <updateReleaseInfo>true</updateReleaseInfo>
+                  </configuration>
+               </plugin>
+               <!-- We Want to sign the artifact, the POM, and all attached artifacts
-->
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-gpg-plugin</artifactId>
+                  <version>1.2</version>
+                  <executions>
+                     <execution>
+                        <goals>
+                           <goal>sign</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+      <profile>
+         <id>deploy</id>
+         <build>
+            <defaultGoal>deploy</defaultGoal>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-source-plugin</artifactId>
+                  <version>2.1.2</version>
+                  <executions>
+                     <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                           <goal>jar</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.mavven.plugins</groupId>
+                  <artifactId>maven-javadoc-plugin</artifactId>
+                  <version>2.8</version>
+                  <executions>
+                     <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                           <goal>jar</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+    </profiles>
+
 </project>



Mime
View raw message