[
http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185560#action_185560
]
Christophe Lallement commented on MGPG-9:
-----------------------------------------
I find a workaround:
it seems that mvn:release fork the maven command and additionnal args are not
passed to the new command.
just add this option on commande line:
> mvn -Dgpg.passphrase="xxxxxxx" -Darguments="-Dgpg.passphrase=xxxxxxxxx"
> release:perform
it works fine for me (same tips for mvn:perform)
Regards
Christophe
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
>
> When used in conjunction with the release plugin the release:perform command
> hangs when it should prompt for the secret key passphrase. Interestingly
> enough when I put the passphrase into the settings.xml file the plugin does
> not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira