Permalink
Browse files

fixed pom to include pgp signer

  • Loading branch information...
1 parent 453253b commit be61364ba87f6983b8ed5bc8038576b7d29dc588 @javasoze javasoze committed Nov 2, 2011
Showing with 29 additions and 0 deletions.
  1. +29 −0 pom.xml
View
29 pom.xml
@@ -143,4 +143,33 @@
-->
</distributionManagement>
+ <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>
</project>

0 comments on commit be61364

Please sign in to comment.