Skip to content

Commit 06d6b4f

Browse files
committed
Fixing the gpg plugin
1 parent 5cbbb92 commit 06d6b4f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<properties>
2828
<maven.compiler.source>1.8</maven.compiler.source>
2929
<maven.compiler.target>1.8</maven.compiler.target>
30+
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
3031
<jacoco.enabled>true</jacoco.enabled>
3132
<jacoco.version>0.8.4</jacoco.version>
3233
<central.repo>https://nexus.intuit.com/nexus/content/groups/public</central.repo>
@@ -46,16 +47,22 @@
4647
<build>
4748
<plugins>
4849
<plugin>
49-
<groupId>org.apache.maven.plugins</groupId>
5050
<artifactId>maven-gpg-plugin</artifactId>
51-
<version>1.5</version>
51+
<version>${maven-gpg-plugin.version}</version>
5252
<executions>
5353
<execution>
5454
<id>sign-artifacts</id>
5555
<phase>verify</phase>
5656
<goals>
5757
<goal>sign</goal>
5858
</goals>
59+
<configuration>
60+
<!-- This is necessary for gpg to not try to use the pinentry programs -->
61+
<gpgArguments>
62+
<arg>--pinentry-mode</arg>
63+
<arg>loopback</arg>
64+
</gpgArguments>
65+
</configuration>
5966
</execution>
6067
</executions>
6168
</plugin>

0 commit comments

Comments
 (0)