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/17 07:05:10 UTC

svn commit: r935128 - /geronimo/devtools/eclipse-plugin/branches/2.1.5/pom.xml

Author: delos
Date: Sat Apr 17 05:05:10 2010
New Revision: 935128

URL: http://svn.apache.org/viewvc?rev=935128&view=rev
Log:
[maven-release-plugin] rollback the release of 2.1.5

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

Modified: geronimo/devtools/eclipse-plugin/branches/2.1.5/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.5/pom.xml?rev=935128&r1=935127&r2=935128&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.5/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.5/pom.xml Sat Apr 17 05:05:10 2010
@@ -35,7 +35,7 @@
     <url>http://geronimo.apache.org/devtools</url>
                         
     <prerequisites>
-        <maven>2.2.1</maven>
+        <maven>2.0.10</maven>
     </prerequisites>
                         
     <issueManagement>
@@ -302,6 +302,17 @@
                     <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>
                 
@@ -544,6 +555,93 @@
             </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>
+      <!-- plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin-->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <encoding>${project.build.sourceEncoding}</encoding>
+        </configuration>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</profile>
 
     </profiles>