Add gpg plugin to central profile

This commit is contained in:
Dave Syer
2016-01-27 10:23:23 +00:00
parent b5b9eff7c6
commit d54ff816e9

View File

@@ -126,6 +126,23 @@ limitations under the License.
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<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>