Skip to content

Commit 16b06c3

Browse files
committed
Pull GPG passcode from settings.xml
1 parent e8b2cc0 commit 16b06c3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,14 +798,22 @@
798798
<plugin>
799799
<groupId>org.apache.maven.plugins</groupId>
800800
<artifactId>maven-gpg-plugin</artifactId>
801-
<version>1.5</version>
801+
<version>1.6</version>
802802
<executions>
803803
<execution>
804804
<id>sign-artifacts</id>
805805
<phase>verify</phase>
806806
<goals>
807807
<goal>sign</goal>
808808
</goals>
809+
<configuration>
810+
<executable>gpg</executable>
811+
<gpgArguments>
812+
<arg>--pinentry-mode</arg>
813+
<arg>loopback</arg>
814+
</gpgArguments>
815+
<passphrase>${gpg.passphrase}</passphrase>
816+
</configuration>
809817
</execution>
810818
</executions>
811819
</plugin>

0 commit comments

Comments
 (0)