System properties are not substituted into settings.xml at the moment.

Depending on the protocol being used, you may be able to omit the
password and be prompted for it (I think only scp supports this at the
moment).

- Brett

On 2/23/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> I found the issue in jira
> (http://jira.codehaus.org/browse/MNG-553)
>
> Is there a workaround for this so that we can at least use Maven for non
> automated builds?
>
> I've tried to pass a password on the command line using -Dpassword=xxxx and
> made the following change to settings.xml:
>
>         <server>
>             <id>enterprise</id>
>             <username> thomas.van.de.velde</username>
>             <password>${password}</password>
>         </server>
>
> That didn't work.
>
>
> On 2/22/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> > What's the status on securing passwords?  Has this been implemented?
> >
> > Cheers,
> > Thomas
> >
> >
> >
> > On 7/16/05, Brett Porter < [EMAIL PROTECTED]> wrote:
> > > It is actually planned, and there is a partial implementation using a
> > > JKS keystore lying around but there is more work to be done.
> > >
> > > There still needs to be a master password somewhere though - but this
> > > could be entered at the command line as needed.
> > >
> > > Cheers,
> > > Brett
> > >
> > > On 7/6/05, McGarr, Joseph M. <[EMAIL PROTECTED]> wrote:
> > > > Will do!
> > > >
> > > > -----Original Message-----
> > > > From: Jason van Zyl [mailto: [EMAIL PROTECTED]
> > > > Sent: Wednesday, July 06, 2005 8:58 AM
> > > > To: Maven Users List
> > > > Subject: RE: [m2] Secure Passwords in the settings.xml
> > > >
> > > >
> > > > On Wed, 2005-07-06 at 07:28 -0400, McGarr, Joseph M. wrote:
> > > > > Does anybody have any insight into this?
> > > >
> > > > Your best bet is to note this in JIRA so that it doesn't get lost in
> the
> > > > noise. I think what you're asking for would be a feature many users
> > > > would want.
> > > >
> > > > > -----Original Message-----
> > > > > From: McGarr, Joseph M. [mailto:[EMAIL PROTECTED] ]
> > > > > Sent: Sunday, July 03, 2005 2:19 PM
> > > > > To: ' users@maven.apache.org'
> > > > > Subject: [m2] Secure Passwords in the settings.xml
> > > > >
> > > > >
> > > > > Has there been any talk about adding security to the server
> passwords
> > > > > contained in the settings.xml file?  Currently, the only way I have
> found
> > > > to
> > > > > provide a server password is in plain text.  Would there be a way to
> > > > prompt
> > > > > the user for their password mid-build, and then have maven store an
> > > > > encrypted version of this password in the settings.xml file.  I
> could also
> > > > > be missing some other feature that would solve my problem.  Any help
> would
> > > > > be greatly appreciated.
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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]
> > > > >
> > > > >
> > > > --
> > > > jvz.
> > > >
> > > > Jason van Zyl
> > > > jason at maven.org
> > > > http://maven.apache.org
> > > >
> > > > the course of true love never did run smooth ...
> > > >
> > > >  -- Shakespeare
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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]
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > 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]

Reply via email to