You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-commits@incubator.apache.org by bc...@apache.org on 2011/02/24 09:17:25 UTC

svn commit: r1074081 - /incubator/droids/trunk/pom.xml

Author: bchapuis
Date: Thu Feb 24 09:17:23 2011
New Revision: 1074081

URL: http://svn.apache.org/viewvc?rev=1074081&view=rev
Log:
added a profile which automaticly generate PGP Signatures when the project is released. See https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven for more details.

Modified:
    incubator/droids/trunk/pom.xml

Modified: incubator/droids/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/droids/trunk/pom.xml?rev=1074081&r1=1074080&r2=1074081&view=diff
==============================================================================
--- incubator/droids/trunk/pom.xml (original)
+++ incubator/droids/trunk/pom.xml Thu Feb 24 09:17:23 2011
@@ -210,6 +210,37 @@
     </plugins>
   </build>
 
+  <!-- apache gpg profile -->
+  <profiles>
+      <profile>
+        <id>release-sign-artifacts</id>
+        <activation>
+          <property>
+            <name>performRelease</name>
+            <value>true</value>
+          </property>
+        </activation>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-gpg-plugin</artifactId>
+              <version>1.1</version>
+              <executions>
+                <execution>
+                  <id>sign-artifacts</id>
+                  <phase>verify</phase>
+                  <goals>
+                    <goal>sign</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+          </plugins>
+        </build>
+      </profile>
+  </profiles>
+
   <reporting>
     <plugins>
       <plugin>