hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: New release tools / release manager for HttpClient 4.3.2?
Date Wed, 15 Jan 2014 16:26:51 GMT
On Wed, 2014-01-15 at 10:54 -0500, Gary Gregory wrote:
> Next issue: The build hangs in 'gradlew -q deployRC':
> 
> [INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @
> httpcomponents-client ---
> 
> In my gradle.properties I have:
> 
> MAVEN_HOME=C:\\Java\\apache-maven-3.0.5
> 
> HC_DEV = https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk
> HC_DIST_STAGING=https://dist.apache.org/repos/dist/dev/httpcomponents/
> HC_SITE_STAGING=https://svn.apache.org/repos/asf/httpcomponents/site/
> HC_PROJECT_SITE=
> https://svn.apache.org/repos/asf/httpcomponents/project-website/trunk/
> 
> HC_PUBLISHED_RELEASES=
> 
> signing.keyId=***
> signing.password=***
> signing.secretKeyRingFile=%HOME%\\AppData\\Roaming\\gnupg\\secring.gpg
> 
> I also tried each of:
> 
> signing.secretKeyRingFile=%HOME%\AppData\Roaming\gnupg\secring.gpg
> signing.secretKeyRingFile=%HOME%/AppData/Roaming/gnupg/secring.gpg
> 
> I've had this problem before using plain Maven in Apache Commons which I
> solved by using:
> 
> -Darguments=-Dgpg.passphrase=*** -Dgpg.passphrase=***
> 
> For example:
> 
> mvn -Darguments=-Dgpg.passphrase=*** -Dgpg.passphrase=*** deploy -Prelease
> 
> How do I do that with this build system? Yes, I've tried 'gradlew
> -Darguments=-Dgpg.passphrase=*** -Dgpg.passphrase=*** -q deployRC' to no
> avail.
> 
> Gary
> 

Gary

This time around this does not seem to be the release tools fault. The
build is likely hanging in prompt for GPG password. Under Linux the
prompt is visible. Under Windows it is probably not.

What happens if you just type the passphrase?

Could you please use this patch to force-feed the passphrase to Maven?

Oleg  


Mime
View raw message