Skip to content

Commit

Permalink
Adds a profile which sign the release artifact.
Browse files Browse the repository at this point in the history
Adds a profile which sign the release artifact.
  • Loading branch information
SPalominos committed May 24, 2016
2 parents f017839 + c82d8c1 commit 125bcdb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions nexus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,31 @@
</repository>
</distributionManagement>
</profile>
<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>
<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 125bcdb

Please sign in to comment.