You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/04/19 11:12:49 UTC

svn commit: r935483 - /geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml

Author: delos
Date: Mon Apr 19 09:12:48 2010
New Revision: 935483

URL: http://svn.apache.org/viewvc?rev=935483&view=rev
Log:
GERONIMODEVTOOLS-641 add configuration for maven release plugin in 2.2 branch

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml

Modified: geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml?rev=935483&r1=935482&r2=935483&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2.1/pom.xml Mon Apr 19 09:12:48 2010
@@ -28,14 +28,14 @@
     <parent>
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
-        <version>4</version>
+        <version>5</version>
     </parent>
                         
     <description>Apache Geronimo Eclipse Plugin and WTP Server Adapter</description>
     <url>http://geronimo.apache.org/devtools</url>
                         
     <prerequisites>
-        <maven>2.0.4</maven>
+        <maven>2.0.10</maven>
     </prerequisites>
                         
     <issueManagement>
@@ -302,6 +302,18 @@
                     <artifactId>keytool-maven-plugin</artifactId>
                     <version>1.0</version>
                 </plugin>
+              
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <version>2.0-beta-9</version>
+                    <configuration>
+                        <useReleaseProfile>false</useReleaseProfile>
+                        <goals>deploy</goals>
+                        <arguments>-Papache-release</arguments>
+                    </configuration>
+                </plugin>
+
 
             </plugins>
         </pluginManagement>
@@ -557,6 +569,67 @@
                 <module>testsuite</module>
             </modules>
         </profile>
+
+            <profile>
+                      <id>apache-release</id>
+                      <build>
+                        <plugins>
+                          <!-- Create a source-release artifact that contains the fully buildable 
+                               project directory source structure. This is the artifact which is 
+                               the official subject of any release vote. -->
+                          <plugin>
+                            <artifactId>maven-assembly-plugin</artifactId>
+                            <dependencies>
+                              <dependency>
+                                <groupId>org.apache.apache.resources</groupId>
+                                <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                                <version>1.0.2</version>
+                              </dependency>
+                            </dependencies>
+                            <executions>
+                              <execution>
+                                <id>source-release-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                  <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                                  <descriptorRefs>
+                                    <descriptorRef>source-release</descriptorRef>
+                                  </descriptorRefs>
+                                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                                </configuration>
+                              </execution>
+                            </executions>
+                          </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>
+                            <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>
+                            <inherited>true</inherited>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-deploy-plugin</artifactId>
+                            <configuration>
+                              <updateReleaseInfo>true</updateReleaseInfo>
+                            </configuration>
+                          </plugin>          
+                        </plugins>
+                      </build>
+           </profile>
     </profiles>
                         
 </project>