Open
Description
Description:
Per https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphraseenvname the mechanism currently used by this task is deprecated. This is reenforced by the fact that https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphrase will fail if <bestPractices>
is true
.
The recommended way to pass the passphrase is now https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#passphraseEnvName
Task version:
v4
Expected behavior:
- Stop writing
gpg.passphrase
toserver.xml
. - Set
gpg.passphraseEnvName
if the user specifies a value other thanMAVEN_GPG_PASSPHRASE