Author: wsmoak
Date: Sat Mar 10 10:26:56 2007
New Revision: 516763

URL: http://svn.apache.org/viewvc?view=rev&rev=516763
Log:
Add a 'release' profile with maven-gpg-plugin configuration to sign the 
deployed artifacts.
Usage: "mvn deploy -P release".  The plugin will prompt for your passphrase, or 
you can supply it on the command line with -Dgpg.passphrase="..." or as a 
property in settings.xml.

Modified:
    tiles/framework/trunk/pom.xml

Modified: tiles/framework/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?view=diff&rev=516763&r1=516762&r2=516763
==============================================================================
--- tiles/framework/trunk/pom.xml (original)
+++ tiles/framework/trunk/pom.xml Sat Mar 10 10:26:56 2007
@@ -144,6 +144,34 @@
     </reporting>
 
     <dependencies />
+    
+    <profiles>
+        <profile>
+            <id>release</id>
+            <activation>
+                <property>
+                    <name>release</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0-alpha-3</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 
     <!-- Needs to be commented out for releases -->
     <repositories>


Reply via email to