On 26 February 2014 01:55, Gary Gregory <[email protected]> wrote: > On Tue, Feb 25, 2014 at 8:51 PM, sebb <[email protected]> wrote: > >> On 26 February 2014 00:43, Gary Gregory <[email protected]> wrote: >> > On Tue, Feb 25, 2014 at 6:49 PM, sebb <[email protected]> wrote: >> > >> >> On 25 February 2014 23:29, Gary Gregory <[email protected]> wrote: >> >> > On Tue, Feb 25, 2014 at 5:39 PM, sebb <[email protected]> wrote: >> >> > >> >> >> What password hangs? >> >> >> >> >> > >> >> > There are scenarios when Maven appears to hang in the gpg plugin when, >> >> > presumably it is trying to get a password, put it does not prompt the >> >> user, >> >> > it just sits there. >> >> >> >> Well yes, that's what I thought you meant, but I have never experienced >> it. >> >> What command line are you using that causes the problem? >> >> >> >> Have you set up settings.xml correctly? >> >> I think there's a Commons Wiki page on this >> >> >> > >> > Oh, I usually forget to put the right -D on the CLI and then it hangs >> IIRC >> > it's -Dgpg.passphrase=... >> > >> > It would be so much nice if Maven/GPG/plugin prompted instead of >> hanging... >> >> It does prompt when I use it. >> > > Lucky you! :) > > >> >> It sometimes takes a little while, but it should pop up a "Pinentry" >> dialog. >> I think this is associated with the gpgagent executable >> > > Ah... then there is this whole biz having an agent, which I do not plan on > doing, one less thing to manage. I'd rather put it on the CLI or have Maven > prompt me.
The agent comes with the GPG installation. I did not need to do anything special to get it to work. And as far as I know, Maven can prompt you - it overwrites each character with * as you type it. The Pinentry GUI is much easier to use, as it shows the key details. > Gary > > >> >> > Gary >> > >> > >> >> > Gary >> >> > >> >> >> >> >> >> I don't get problems on WinXp. >> >> >> >> >> >> On 25 February 2014 22:25, Gary Gregory <[email protected]> >> wrote: >> >> >> > Could this will alleviate some of our password hangs? >> >> >> > >> >> >> > Gary >> >> >> > >> >> >> > ---------- Forwarded message ---------- >> >> >> > From: Stephen Connolly <[email protected]> >> >> >> > Date: Tue, Feb 25, 2014 at 4:59 PM >> >> >> > Subject: [ANN] Apache Maven GPG Plugin 1.5 Released >> >> >> > To: [email protected], Maven Users List < >> >> [email protected]> >> >> >> > Cc: Maven Developers List <[email protected]> >> >> >> > >> >> >> > >> >> >> > The Apache Maven team is pleased to announce the release of the >> Apache >> >> >> > Maven GPG Plugin, version 1.5 >> >> >> > >> >> >> > This plugin signs all of the project's attached artifacts with >> GnuPG. >> >> >> > >> >> >> > http://maven.apache.org/plugins/maven-gpg-plugin/ >> >> >> > >> >> >> > You should specify the version in your project's plugin >> configuration: >> >> >> > >> >> >> > <plugin> >> >> >> > <groupId>org.apache.maven.plugins</groupId> >> >> >> > <artifactId>maven-gpg-plugin</artifactId> >> >> >> > <version>1.5</version> >> >> >> > </plugin> >> >> >> > >> >> >> > Release Notes - Maven GPG Plugin - Version 1.5 >> >> >> > >> >> >> > ** Bug >> >> >> > * [MGPG-41] - Passphrase revealed when backspacing at prompt >> >> >> > >> >> >> > ** Improvement >> >> >> > * [MGPG-48] - useAgent=true by default >> >> >> > * [MGPG-49] - Add support for --lock-* command line options >> >> >> > >> >> >> > ** Task >> >> >> > * [MGPG-39] - use maven-plugin-tools' java 5 annotations >> >> >> > >> >> >> > >> >> >> > Enjoy, >> >> >> > >> >> >> > -The Apache Maven team >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > 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 >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> 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 >> >> >> >> --------------------------------------------------------------------- >> >> 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 >> >> --------------------------------------------------------------------- >> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
