Prevent GPG from using pinentry programs (#10771)

This commit is contained in:
Stian Thorgersen 2022-03-16 16:28:13 +01:00 committed by GitHub
parent db6621cd21
commit 842218a7ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
pom.xml
View file

@ -2089,5 +2089,30 @@
</build> </build>
</profile> </profile>
<profile>
<id>gpg-sign</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>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles> </profiles>
</project> </project>