Author: bentmann
Date: Thu May 27 18:19:20 2010
New Revision: 948940

URL: http://svn.apache.org/viewvc?rev=948940&view=rev
Log:
[MGPG-9] gpg plugin hangs when it should prompt for the secret key passphrase 
hangs

o Added documentation for possible workaround for what is actually an issue 
with the Release Plugin

Modified:
    maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt.vm

Modified: maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt.vm?rev=948940&r1=948939&r2=948940&view=diff
==============================================================================
--- maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt.vm (original)
+++ maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt.vm Thu May 27 
18:19:20 2010
@@ -67,3 +67,13 @@ mvn verify -Dgpg.passphrase=thephrase
 +----------+
 
   If you don't specify a passphrase, it will prompt for one.
+
+  <Note:> When using the GPG Plugin in combination with the Maven Release 
Plugin, you might need to specify the passphrase
+  like this:
+
++----------+
+mvn release:perform -Darguments=-Dgpg.passphrase=thephrase
++----------+
+
+  This accounts for the fact, that the Release Plugin forks Maven and system 
properties of the current Maven session are
+  unfortunately not automatically propagated to the forked Maven session (see 
also {{{http://jira.codehaus.org/browse/MGPG-9}MGPG-9}}.


Reply via email to