I am having trouble signing maven artifacts. The details of the problem are described at https://issues.apache.org/jira/browse/INFRA-23348. 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.

My environment is as follows:

  Mac OSX 11.2.3
  Apache Maven 3.5.0
  gpg (GnuPG) 2.3.6 (libgcrypt 1.10.1)
  openjdk version "11" 2018-09-25

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

I would appreciate any advice you can give me about how to debug this problem.

Thanks,
-Rick


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to