maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: How to specify SCM username/password for release plugin?
Date Mon, 04 May 2009 12:52:42 GMT
You want to have a look at this:
http://maven.apache.org/guides/mini/guide-encryption.html
However, this is only available since 2.1.

Btw, we use user/password. Settings.xml is shared by everybody, we just use
something like ${env.m2DeployUser}/${env.m2DeployPwd} and then ask the
developers who have deployment account to specify value for the
corresponding environment variable with their own account credentials. This
way, they're the only one to know their user/pwd. The Settings.xml doesn't
convey any.

Cheers.

2009/5/4 David Hoffer <dhoffer6@gmail.com>

> Does this support encryption?  We don't want passwords in plan text.  We
> really don't want names/passwords in the pom as those are global values, we
> really want server names/passwords encrypted and in the settings.xml or
> other system location.
>
> we run release:prepare followed by release:perform
>
> -Dave
>
> On Mon, May 4, 2009 at 3:46 AM, Baptiste MATHUS <ml@batmat.net> wrote:
>
> > Hi,
> >
> > In the documentation of the mojo (btw, you didn't say which goal you were
> > speaking) of the release:prepare for example:
> >
> > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html
> >
> > username/password.
> >
> > Cheers.
> >
> > 2009/5/1 David Hoffer <dhoffer6@gmail.com>
> >
> > > How can I specify the username/password to be used by the release
> plugin
> > in
> > > the settings.xml file (or other system approach)?  Normally this is set
> > in
> > > the settings.xml and refereed to elsewhere by it's id but how is this
> > > refereed by the SCM?
> > >
> > > -Dave
> > >
> >
> >
> >
> > --
> > Baptiste <Batmat> MATHUS - http://batmat.net
> > Sauvez un arbre,
> > Mangez un castor !
> >
>



-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message