jzmq icon indicating copy to clipboard operation
jzmq copied to clipboard

Problem: mvn install requires GPG passphrase

Open msteinhoff opened this issue 9 years ago • 4 comments

When I want to execute mvn install, this happens:

[INFO] Building jar: /Users/msteinhoff/Work/Projects/zeromq/jzmq/jzmq-jni/target/jzmq-jni-3.1.1-SNAPSHOT-javadoc.jar
[INFO]
[INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ jzmq-jni ---
GPG passphrase *

Now, what should happen at this point? I have no idea.

@trevorbernard @c-rack can you help here?

msteinhoff avatar Feb 10 '16 12:02 msteinhoff

you can skip the signing process with -Dgpg.skip=true I believe. But this should only be done locally.

trevorbernard avatar Feb 10 '16 13:02 trevorbernard

Jup, this works.

I'll send a PR later to update the documentation.

About the GPG signing, I assume its needed to publish on OSS Nexus / Maven Central? Who owns the private key for this?

msteinhoff avatar Feb 10 '16 14:02 msteinhoff

About the GPG signing, I assume its needed to publish on OSS Nexus / Maven Central?

You got it

Who owns the private key for this?

My public key can push to the org.zeromq groupId. If you wish, submit a ticket requesting deploy access here: https://issues.sonatype.org/projects/OSSRH

trevorbernard avatar Feb 10 '16 15:02 trevorbernard

Ah okay, so this is how it works. :)

msteinhoff avatar Feb 10 '16 16:02 msteinhoff