Hi.

Trying the following command (from the wiki "UsingNexus" page):

  $ mvn release:prepare -DdryRun=true

Getting to the signing step:
---CUT---
You need a passphrase to unlock the secret key for
user: "Gilles Sadowski (ASF code signing) <er...@apache.org>"
4096-bit RSA key, ID 1E22D5B8, created 2012-02-28

Enter passphrase: [INFO] gpg: gpg-agent is not available in this session
                  
You need a passphrase to unlock the secret key for
user: "Gilles Sadowski (ASF code signing) <er...@apache.org>"
4096-bit RSA key, ID 1E22D5B8, created 2012-02-28

Enter passphrase: [INFO] gpg: Invalid passphrase; please try again ...
                  
You need a passphrase to unlock the secret key for
user: "Gilles Sadowski (ASF code signing) <er...@apache.org>"
4096-bit RSA key, ID 1E22D5B8, created 2012-02-28

Enter passphrase: [INFO] gpg: gpg-agent is not available in this session
[and again...]
---CUT---

When I try with this command:

  $ mvn -DdryRun=true -Dgpg.keyname=er...@apache.org \
    -Darguments="-Dgpg.keyname=er...@apache.org" \
    -Prelease release:prepare

It gets stuck[1] after printing
---CUT---
INFO] [INFO] Building zip:
/home/eran/devel/SVN/commons-math/trunk/target/commons-math3-3.0-SNAPSHOT-bin.zip
[INFO] [INFO] 
[INFO] [INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ 
commons-math3 ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ commons-math3 ---
---CUT---


Regards,
Gilles

[1] I.e. nothing more seems to happen for several minutes, until I hit
    Ctrl-C.

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

Reply via email to