Skip to content

Commit f0a39ec

Browse files
Fixing gpg.passphrase variable in pom.xml
1 parent eea71f1 commit f0a39ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
<localCheckout>true</localCheckout>
309309
<pushChanges>false</pushChanges>
310310
<mavenExecutorId>forked-path</mavenExecutorId>
311-
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
311+
<arguments>-Dgpg.passphrase=${gpg.passphraseServerId}</arguments>
312312
</configuration>
313313
<dependencies>
314314
<dependency>
@@ -425,7 +425,7 @@
425425
<!-- Add GPG passphrase in Maven settings.xml under .m2 home, see
426426
https://dzone.com/articles/publish-your-artifacts-to-maven-central -->
427427
<keyname>${gpg.keyname}</keyname>
428-
<passphraseServerId>${gpg.keyname}</passphraseServerId>
428+
<passphraseServerId>${gpg.passphraseServerId}</passphraseServerId>
429429
</configuration>
430430
</execution>
431431
</executions>

0 commit comments

Comments
 (0)