Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-29 Thread Daniel Kulp
On Thursday 24 May 2007 03:24, Torsten Curdt wrote:
 On 24.05.2007, at 09:03, Antonio Petrelli wrote:
 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

If you have an agent configured for gpg to popup a nice dialog or 
something, you can also do:
-Dgpg.useAgent=true

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

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



Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-29 Thread Torsten Curdt


On 29.05.2007, at 17:15, Daniel Kulp wrote:


On Thursday 24 May 2007 03:24, Torsten Curdt wrote:

On 24.05.2007, at 09:03, Antonio Petrelli wrote:
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


If you have an agent configured for gpg to popup a nice dialog or
something, you can also do:
-Dgpg.useAgent=true


Ha! Great! :)

cheers
--
Torsten



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



[gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Alex Karasulu

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:

   [INFO] [clean:clean]
   [INFO] Deleting directory
/home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target
   [INFO] Deleting directory
/home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/classes
   [INFO] Deleting directory
/home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/test-classes
   [INFO] Deleting directory
/home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/site
   [INFO] [site:attach-descriptor]
   [INFO] [gpg:sign {execution: sign-artifacts}]   hangs here!

I was wondering if anyone has had this problem and if there is a workaround
for it?

Thanks much,
Alex


Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Antonio Petrelli

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.passphraseYOURGPGPASS/gpg.passphrase
 /properties

HTH
Antonio

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



Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin

2007-05-24 Thread Torsten Curdt


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.passphraseYOURGPGPASS/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]