You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/08/29 05:58:20 UTC

svn commit: r437943 - /geronimo/genesis/trunk/pom.xml

Author: jdillon
Date: Mon Aug 28 20:58:19 2006
New Revision: 437943

URL: http://svn.apache.org/viewvc?rev=437943&view=rev
Log:
Add sign-artifacts profile

Modified:
    geronimo/genesis/trunk/pom.xml

Modified: geronimo/genesis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/pom.xml?rev=437943&r1=437942&r2=437943&view=diff
==============================================================================
--- geronimo/genesis/trunk/pom.xml (original)
+++ geronimo/genesis/trunk/pom.xml Mon Aug 28 20:58:19 2006
@@ -110,6 +110,7 @@
     </distributionManagement>
     
     <profiles>
+        
         <profile>
             <id>default</id>
             
@@ -144,6 +145,34 @@
                 <module>config/checkstyle-config</module>
             </modules>
         </profile>
+        
+        <profile>
+            <id>sign-artifacts</id>
+            
+            <!--
+            NOTE: To use you need to enable this profile and pass in the passphrase:
+                  
+                  mvn -Psign-artifacts -Dpassphrase=thephrase
+            -->
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                        <artifactId>tools-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>gpg-sign-attached</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        
     </profiles>
     
 </project>