Skip to content

Commit fb92b7f

Browse files
authored
Revert disabled GPG
1 parent 46eba09 commit fb92b7f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,26 @@
505505
<groupId>org.apache.maven.plugins</groupId>
506506
<artifactId>maven-javadoc-plugin</artifactId>
507507
</plugin>
508+
<plugin>
509+
<groupId>org.apache.maven.plugins</groupId>
510+
<artifactId>maven-gpg-plugin</artifactId>
511+
<executions>
512+
<execution>
513+
<id>sign-artifacts</id>
514+
<phase>verify</phase>
515+
<goals>
516+
<goal>sign</goal>
517+
</goals>
518+
<configuration>
519+
<!-- This is necessary for gpg to not try to use the pinentry programs -->
520+
<gpgArguments>
521+
<arg>--pinentry-mode</arg>
522+
<arg>loopback</arg>
523+
</gpgArguments>
524+
</configuration>
525+
</execution>
526+
</executions>
527+
</plugin>
508528
<plugin>
509529
<groupId>org.sonatype.central</groupId>
510530
<artifactId>central-publishing-maven-plugin</artifactId>

0 commit comments

Comments
 (0)