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]

Reply via email to