tell the pom to sign the artifacts for the antler maven plug-in.

This commit is contained in:
Terence Parr 2015-01-23 14:37:41 -08:00
parent 2246e7500b
commit b033b5ceb1
1 changed files with 14 additions and 9 deletions

View File

@ -26,14 +26,7 @@
<modelVersion>4.0.0</modelVersion>
<!-- <parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
-->
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.5</version>
<packaging>maven-plugin</packaging>
@ -300,8 +293,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>1.4</version>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>