|
|
|
@ -167,28 +167,6 @@ |
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-gpg-plugin</artifactId> |
|
|
|
<version>3.1.0</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>sign-artifacts</id> |
|
|
|
<phase>verify</phase> |
|
|
|
<goals> |
|
|
|
<goal>sign</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
<configuration> |
|
|
|
<gpgArguments> |
|
|
|
<arg>--batch</arg> |
|
|
|
<arg>--yes</arg> |
|
|
|
<arg>--pinentry-mode</arg> |
|
|
|
<arg>loopback</arg> |
|
|
|
</gpgArguments> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.sonatype.central</groupId> |
|
|
|
<artifactId>central-publishing-maven-plugin</artifactId> |
|
|
|
@ -201,6 +179,36 @@ |
|
|
|
</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>3.1.0</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>sign-artifacts</id> |
|
|
|
<phase>verify</phase> |
|
|
|
<goals> |
|
|
|
<goal>sign</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</profile> |
|
|
|
</profiles> |
|
|
|
|
|
|
|
<!-- Until 08. Dec 2016, this pom worked with maven-release-plugin at 2.2.1 |
|
|
|
and default SCM dependencies. On 11. Jan, 2017 that was no longer the |
|
|
|
case, presumably because the default SCM version changed (cannot find |
|
|
|
|