geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r610737 - /geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml
Date Thu, 10 Jan 2008 10:11:15 GMT
Author: dblevins
Date: Thu Jan 10 02:11:13 2008
New Revision: 610737

URL: http://svn.apache.org/viewvc?rev=610737&view=rev
Log:
Added a release profile

Modified:
    geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml

Modified: geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml?rev=610737&r1=610736&r2=610737&view=diff
==============================================================================
--- geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml (original)
+++ geronimo/components/txmanager/branches/geronimo-txmanager-parent-2.1/pom.xml Thu Jan 10
02:11:13 2008
@@ -210,8 +210,61 @@
                     <linkModules>true</linkModules>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <tagBase>https://svn.apache.org/repos/asf/geronimo/components/txmanager/branches/</tagBase>
+		</configuration>
+	    </plugin>
         </plugins>
     </build>
 
+    <profiles>
+      <profile>
+	<id>release</id>
+	<build>
+	  <plugins>
+	    <!-- 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>
+		<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+		<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>
+	  </plugins>
+	</build>
+      </profile>
+    </profiles>
 </project>
 



Mime
View raw message