Permalink
Browse files

Add Maven profile for signing releases

  • Loading branch information...
jameskennard committed Nov 9, 2013
1 parent c462521 commit 05b00ae97ec307aae8a25233995775154016a03e
Showing with 31 additions and 1 deletion.
  1. +31 −1 pom.xml
32 pom.xml
@@ -113,5 +113,35 @@

</plugins>
</build>


<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 05b00ae

Please sign in to comment.