Prevent gpg from using pinentry programs
<goals>
<goal>sign</goal>
</goals>
+ <configuration>
+ <!-- Prevent `gpg` from using pinentry programs -->
+ <gpgArguments>
+ <arg>--pinentry-mode</arg>
+ <arg>loopback</arg>
+ </gpgArguments>
+ </configuration>
</execution>
</executions>
</plugin>
