Closed vitalijr2 closed 2 years ago
I have tried to put a passphrase to POM, so my configuration looks like
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyPass>non-encrypted-passphrase</keyPass>
</configuration>
</execution>
</executions>
</plugin>
In this case all works as expected.
But when I run a build with the property -Dsign.keyPass=....
it breaks again.
And finally I have found the root: the passphrase contains the dollar sign, when I escape it the plugin works as expected. Sorry!
Describe the bug Cannot sing artifacts, the plugin says
To Reproduce I have prepared key following by Private key preparation:
gpg --full-gen-key
gpg --list-secret-keys --keyid-format long
Also I have tried to use an encrypted passphrase but had same result
Expected behavior Artifacts are signed.
Additional context My plugin configuration: