Author: musachy
Date: Sun Nov 16 08:56:11 2008
New Revision: 718060

URL: http://svn.apache.org/viewvc?rev=718060&view=rev
Log:
move gpg plugin to release profile

Modified:
    struts/struts2/branches/release_process/pom.xml

Modified: struts/struts2/branches/release_process/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/release_process/pom.xml?rev=718060&r1=718059&r2=718060&view=diff
==============================================================================
--- struts/struts2/branches/release_process/pom.xml (original)
+++ struts/struts2/branches/release_process/pom.xml Sun Nov 16 08:56:11 2008
@@ -91,6 +91,31 @@
                 <module>../maven/struts-annotations</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>
 
 
@@ -145,9 +170,6 @@
                 <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-release-plugin</artifactId>
-                  <configuration>
-                    <useReleaseProfile>false</useReleaseProfile>
-                  </configuration>
                 </plugin>
             </plugins>
         </pluginManagement>
@@ -173,19 +195,6 @@
                 </execution>
               </executions>
             </plugin>     
-            <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>   
             <!--
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>


Reply via email to