On 24.05.2007, at 09:03, Antonio Petrelli wrote:

2007/5/24, Alex Karasulu <[EMAIL PROTECTED]>:
Hi,

I have a situation where the build hangs when I use the gpg plugin in
conjunction with the
release plugin when issuing a mvn release:prepare command. Here's where it
hangs in the
build:

I had a similar problem, and the reason what that the deploy phase was
asking for a GPG passphrase. But it was during execution of
"release:perform", not "release:prepare".
Anyway, add this property to your settings.xml:

     <properties>
       <gpg.passphrase>YOURGPGPASS</gpg.passphrase>
     </properties>

You would wish keeping the passphrase around like this to not to be promoted ...anyway. Another option is to to turn off the bash history and provide it like this

 mvn release:prepare
mvn release:perform -Dgpg.passphrase=$PASSPHRASE -Darguments="- Dgpg.passphrase=$PASSPHRASE"

HTH

cheers
--
Torsten




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to