Author: wsmoak
Date: Wed Jan 17 07:49:25 2007
New Revision: 497052

URL: http://svn.apache.org/viewvc?view=rev&rev=497052
Log:
Add a 'release' profile with maven-gpg-plugin configuration.


Modified:
    struts/struts1/trunk/pom.xml

Modified: struts/struts1/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/pom.xml?view=diff&rev=497052&r1=497051&r2=497052
==============================================================================
--- struts/struts1/trunk/pom.xml (original)
+++ struts/struts1/trunk/pom.xml Wed Jan 17 07:49:25 2007
@@ -91,6 +91,31 @@
                 <module>assembly</module>
             </modules>
         </profile>
+        <profile>
+            <id>release</id>
+            <activation>
+                <property>
+                    <name>release</name>
+                </property>
+            </activation>
+            <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>
 
     <modules>


Reply via email to