maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hoffer <dhoff...@gmail.com>
Subject Re: How to specify SCM username/password for release plugin?
Date Mon, 04 May 2009 12:38:40 GMT
How is either server id tied to the SCM?  We too have server id/s but these
are used for artifact deployment login not SCM login.  How can I use these
for SCM login?

-Dave

On Mon, May 4, 2009 at 6:22 AM, Gordon Cody <gcody@zafinlabs.com> wrote:

> (with appropriate substitutions of course) In our topmost pom for the
> project we use:
>
>  <scm>
>    <developerConnection>scm:svn:https://svnhost/svnrepo/trunk
> </developerConnection>
>  </scm>
>
> and in the settings.xml (of those allowed to do releases) we put both
> server entries:
>
>  <servers>
>    <server>
>        <id>libs-releases</id>
>        <username>thereleaseuser</username>
>        <password>thereleasepassword</password>
>    </server>
>    <server>
>        <id>libs-snapshots</id>
>        <username>thedeveloperuser</username>
>        <password>thedeveloperpassword</password>
>    </server>
>  </servers>
>
> Regards,
> Gord Cody
>
> On Mon, May 4, 2009 at 5: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 !
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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