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

18
pom.xml
View file

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