zeromq / jzmq

Java binding for ZeroMQ
http://www.zeromq.org
GNU General Public License v3.0
589 stars 364 forks source link

Problem: mvn install requires GPG passphrase #416

Open msteinhoff opened 8 years ago

msteinhoff commented 8 years ago

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?

trevorbernard commented 8 years ago

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

msteinhoff commented 8 years ago

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?

trevorbernard commented 8 years ago

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

msteinhoff commented 8 years ago

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