maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dan tran" <dant...@gmail.com>
Subject Re: Relase plugin
Date Thu, 22 Jun 2006 16:41:54 GMT
if you remove the username and password  out of scmurl in your pom, and the
release plugin puts them back,
then it is  a bug. Please file it against release plugin

-D


On 6/22/06, Martin Gilday <martin.lists@imap.cc> wrote:
>
> I have tried this but when I do a release and look in the exported pom
> it is still adding in an SCM block with usernames and passwords.  It
> also alters my local pom adding in the lines.
>
>
> ----- Original message -----
> From: "dan tran" <dantran@gmail.com>
> To: "Maven Users List" <users@maven.apache.org>
> Date: Thu, 22 Jun 2006 08:27:37 -0700
> Subject: Re: Relase plugin
>
> you can pass in -Dusername -Dpassword into release plugin. This way you
> dont
> have to specify those info in the scmURL
>
> -D
>
>
> On 6/22/06, Martin Gilday <martin.lists@imap.cc> wrote:
> >
> > I must apologise for the formatting my mail client produced there.  Here
> > is the message again.
> >
> > I am attempting to use the release plugin to create the first release of
> > a project. My POM contains SCM information which is required for
> > generating the release and used by Continuum to check out the project.
> > The section is:
> > <scm>
> > <connection>scm:cvs:pserver:${cvs-user}:${cvs-pass}@10.0.0.3
> > :/usr/share/cvs/cvsroot:MyProjectName</connection>
> > <developerConnection>scm:cvs:pserver:${cvs-user}:${cvs-pass}@10.0.0.3
> > :/usr/share/cvs/cvsroot:MyProjectName</developerConnection>
> > </scm>
> >
> > As you can see it contains properties for the CVS logins. However when I
> > run release:prepare the generated POM contains the SCM tags with the
> > properties resolved.
> > <scm>
> > <connection>scm:cvs:pserver:joebloggs:p4ssw0rd@10.0.0.3
> > :/usr/share/cvs/cvsroot:MyProjectName</connection>
> > <developerConnection>scm:cvs:pserver:joebloggs:p4ssw0rd@10.0.0.3
> > :/usr/share/cvs/cvsroot:MyProjectName</developerConnection>
> > </scm>
> >
> > Obviously the developer doing the release will not want his password
> > placing in the exported POM that is placed on the repository when he
> > runs release:release. How am I able to stop this happening?
> > Thank You.
> > Martin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> 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