Skip to content

Commit e3f084a

Browse files
committed
fix: bump gpg plugin version
Also, remove batch-mode as it leads to error "gpg: Sorry, we are in batchmode - can't get input".
1 parent 6100c7e commit e3f084a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<plugin>
186186
<groupId>org.apache.maven.plugins</groupId>
187187
<artifactId>maven-gpg-plugin</artifactId>
188-
<version>1.5</version>
188+
<version>3.1.0</version>
189189
<executions>
190190
<execution>
191191
<id>sign-artifacts</id>
@@ -194,12 +194,10 @@
194194
<goal>sign</goal>
195195
</goals>
196196
<configuration>
197+
<!-- Prevent `gpg` from using pinentry programs -->
197198
<gpgArguments>
198-
<!-- Prevent `gpg` from using pinentry programs -->
199199
<arg>--pinentry-mode</arg>
200200
<arg>loopback</arg>
201-
<!-- Prevent error `gpg: Sorry, no terminal at all requested - can't get input` -->
202-
<arg>--batch</arg>
203201
</gpgArguments>
204202
</configuration>
205203
</execution>

0 commit comments

Comments
 (0)