On Wed, Jan 15, 2014 at 11:26 AM, Oleg Kalnichevski <[email protected]>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? > Testing... Gary > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- E-Mail: [email protected] | [email protected] 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
