Author: mrdon
Date: Mon Nov 12 10:17:56 2007
New Revision: 594241

URL: http://svn.apache.org/viewvc?rev=594241&view=rev
Log:
Making signing only on release

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

Modified: struts/maven/trunk/struts2-archetype-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-plugin/pom.xml?rev=594241&r1=594240&r2=594241&view=diff
==============================================================================
--- struts/maven/trunk/struts2-archetype-plugin/pom.xml (original)
+++ struts/maven/trunk/struts2-archetype-plugin/pom.xml Mon Nov 12 10:17:56 2007
@@ -19,5 +19,26 @@
        
<url>http://svn.apache.org/viewcvs.cgi/struts/maven/trunk/struts2-archetype-plugin/</url>
     </scm>
 
-  <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>
+  <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>


Reply via email to