geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From de...@apache.org
Subject svn commit: r935489 - /geronimo/devtools/eclipse-plugin/trunk/pom.xml
Date Mon, 19 Apr 2010 09:28:25 GMT
Author: delos
Date: Mon Apr 19 09:28:24 2010
New Revision: 935489

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

Modified:
    geronimo/devtools/eclipse-plugin/trunk/pom.xml

Modified: geronimo/devtools/eclipse-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/pom.xml?rev=935489&r1=935488&r2=935489&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/trunk/pom.xml Mon Apr 19 09:28:24 2010
@@ -28,7 +28,7 @@
     <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>
@@ -302,6 +302,18 @@
                     <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>
                 
@@ -549,6 +561,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>



Mime
View raw message