hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: New release tools / release manager for HttpClient 4.3.2?
Date Thu, 16 Jan 2014 00:09:53 GMT
On 15 January 2014 18:53, Gary Gregory <garydgregory@gmail.com> wrote:
> On Wed, Jan 15, 2014 at 11:44 AM, Gary Gregory <garydgregory@gmail.com>wrote:
>
>> On Wed, Jan 15, 2014 at 11:26 AM, Oleg Kalnichevski <olegk@apache.org>wrote:
>>
>>> 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?
>>>
>>
>> Nothing :(
>>
>>
>>>
>>> Could you please use this patch to force-feed the passphrase to Maven?
>>>
>>
> That worked. Thank you!

Another alternative would be to use the GPG Agent.
I use this when signing JMeter packages using Ant and Commons with Maven.
I have the secret key on removable media.

It might be necessary to do a dummy sign operation from a console
window to ensure the password can be read correctly, but once done,
the agent will provide the secret key on demand for a few minutes.

> Gary
>
>
>>
>> Testing...
>>
>> Gary
>>
>>
>>>
>>> Oleg
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>>> For additional commands, e-mail: dev-help@hc.apache.org
>>>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message