Hi Rick,

apart from the stuff Maxim mentioned I needed to pass my apache credentials during the release:

$ mvn release:perform -Dusername=yourApacheId -Dpassword=yourPW

HTH
Phil

Am 09.06.22 um 01:22 schrieb Rick Hillegas:
2) But if maven publication is required and gpg signatures are required...How do I debug my problem with using maven to push signatures to Nexus? The maven error message is terse. No additional useful information comes back when I run the maven command with -e and -X switches. I haven't found any useful information on the web.

For the record, this is the command which fails...

   mvn -Dgpg.passphrase="blah blah blah my passphrase" clean deploy

...and this is the error message I see:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.3:sign (sign-artifacts) on project derby-project: Exit code: 2 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.3:sign (sign-artifacts) on project derby-project: Exit code: 2

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to