Fix GPG sign (#10782)

This commit is contained in:
Stian Thorgersen 2022-03-17 08:55:40 +01:00 committed by GitHub
parent 8aa394ca6b
commit 494948cb92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pom.xml
View file

@ -2090,25 +2090,31 @@
</profile>
<profile>
<id>gpg-sign</id>
<id>gpg</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--batch</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
</plugins>
</build>