You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2010/01/15 12:15:31 UTC

svn commit: r899596 - /struts/maven/trunk/struts2-archetype-dbportlet/pom.xml

Author: lukaszlenart
Date: Fri Jan 15 11:15:30 2010
New Revision: 899596

URL: http://svn.apache.org/viewvc?rev=899596&view=rev
Log:
Added release profile to pom to avoid problems with signing files during release process

Modified:
    struts/maven/trunk/struts2-archetype-dbportlet/pom.xml

Modified: struts/maven/trunk/struts2-archetype-dbportlet/pom.xml
URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-dbportlet/pom.xml?rev=899596&r1=899595&r2=899596&view=diff
==============================================================================
--- struts/maven/trunk/struts2-archetype-dbportlet/pom.xml (original)
+++ struts/maven/trunk/struts2-archetype-dbportlet/pom.xml Fri Jan 15 11:15:30 2010
@@ -7,15 +7,38 @@
     <version>2.2.0-SNAPSHOT</version>
   </parent>
 
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>struts2-archetype-dbportlet</artifactId>
-  <version>2.2.0-SNAPSHOT</version>
-  <name>Struts 2 Archetypes - Database Portlet</name>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>struts2-archetype-dbportlet</artifactId>
+    <version>2.2.0-SNAPSHOT</version>
+    <name>Struts 2 Archetypes - Database Portlet</name>
 
     <scm>
-       <connection>scm:svn:http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</connection>
-       <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</developerConnection>
-       <url>http://svn.apache.org/viewcvs.cgi/struts/maven/trunk/struts2-archetype-dbportlet/</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/struts/maven/trunk/struts2-archetype-dbportlet/</url>
     </scm>
 
+    <profiles>
+        <profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
 </project>