Skip to content

Commit d5c19a0

Browse files
drewnoakesCopilot
andcommitted
Upgrade maven-gpg-plugin to 3.2.7 with loopback pinentry
Fixes 'Inappropriate ioctl for device' error in CI environments. The old 1.6 version doesn't support non-interactive GPG signing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0d05945 commit d5c19a0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
build
1313
.DS_Store
1414
.gradle
15+
.flattened-pom.xml

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,20 @@
176176
<plugin>
177177
<groupId>org.apache.maven.plugins</groupId>
178178
<artifactId>maven-gpg-plugin</artifactId>
179-
<version>1.6</version>
179+
<version>3.2.7</version>
180180
<executions>
181181
<execution>
182182
<id>sign-artifacts</id>
183183
<phase>verify</phase>
184184
<goals>
185185
<goal>sign</goal>
186186
</goals>
187+
<configuration>
188+
<gpgArguments>
189+
<arg>--pinentry-mode</arg>
190+
<arg>loopback</arg>
191+
</gpgArguments>
192+
</configuration>
187193
</execution>
188194
</executions>
189195
</plugin>

0 commit comments

Comments
 (0)