That puts us back to having the password stored in some bash history file, in plain text... Looks like I might have to put in for a feature request. Just have to figure out where to put it :-P
Magne -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Anders Hammar Sent: Friday, 21 September, 2012 12:58 To: Maven Users List Subject: Re: How to make release:prepare ask for password? Don't think you can have it ask for the password, but you can provide it as a Java (system) property on command-line. mvn release:prepare -Dpassword=blabla /Anders On Fri, Sep 21, 2012 at 11:52 AM, Magne Nordtveit <[email protected]> wrote: > How can I make the release-plugin ask for a password when it needs it, rather > than having to either a) provide it as a property when building, or b) > putting it in a settings.xml file or equivalent. I don't like the fact that I > have to have the password stored in a batch history file somewhere, or in a > settings.xml file everybody knows where is... > > Thanks, > -- > Magne Nordtveit > Senior Systems Engineer > > Mobile: +47 957 20 187 > > Offshore Simulator Centre AS > Visiting address: Borgundvegen 340, N-6009, Aalesund, Norway > Postal address: Borgundvegen 340, N-6009, Aalesund, Norway > www.offsim.no<http://www.offsim.no/> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
