You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Allison, Bob" <ro...@qwest.com> on 2005/10/10 11:03:39 UTC

[m2] Per-User SCM Credentials

Is there a way to place the username to be used in the SCM URL in the
settings.xml file?  I am trying to set up an alternate userid on my
system to run Continuum so it can have its own local repository, but I
need to supply my userid in the SCM URL.

Our current URL looks like:
   scm:cvs:pserver:@cvs.host.name:/cvsroot:module-version

Using this URL, the default is to connect to the CVS server using the
same userid as the current user.  This is the desired behavior and I
don't want to mess that up.  I just would like a means to add a userid
in the URL only in special circumstances like Continuum.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Per-User SCM Credentials

Posted by Brett Porter <br...@gmail.com>.
(please don't cross post)

No, it won't be recognised in that way (that would be a nice feature though).

Generally, I'd use <connection> for read-only anonymous/easily
authenticated access like continuum and developerConnection for the
SCM plugin.

- Brett

On 10/10/05, Kenney Westerhof <ke...@apache.org> wrote:
> On Mon, 10 Oct 2005, Allison, Bob wrote:
>
> Try to specify the userid in the settings.xml under <servers><server>.
> Use the cvs.host.name as the servername.
>
> It's normally just used for m2 deploy/site:deploy/release etc, but
> it might work.
>
> -- Kenney
>
> > Is there a way to place the username to be used in the SCM URL in the
> > settings.xml file?  I am trying to set up an alternate userid on my
> > system to run Continuum so it can have its own local repository, but I
> > need to supply my userid in the SCM URL.
> >
> > Our current URL looks like:
> >    scm:cvs:pserver:@cvs.host.name:/cvsroot:module-version
> >
> > Using this URL, the default is to connect to the CVS server using the
> > same userid as the current user.  This is the desired behavior and I
> > don't want to mess that up.  I just would like a means to add a userid
> > in the URL only in special circumstances like Continuum.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Per-User SCM Credentials

Posted by Kenney Westerhof <ke...@apache.org>.
On Mon, 10 Oct 2005, Allison, Bob wrote:

Try to specify the userid in the settings.xml under <servers><server>.
Use the cvs.host.name as the servername.

It's normally just used for m2 deploy/site:deploy/release etc, but
it might work.

-- Kenney

> Is there a way to place the username to be used in the SCM URL in the
> settings.xml file?  I am trying to set up an alternate userid on my
> system to run Continuum so it can have its own local repository, but I
> need to supply my userid in the SCM URL.
>
> Our current URL looks like:
>    scm:cvs:pserver:@cvs.host.name:/cvsroot:module-version
>
> Using this URL, the default is to connect to the CVS server using the
> same userid as the current user.  This is the desired behavior and I
> don't want to mess that up.  I just would like a means to add a userid
> in the URL only in special circumstances like Continuum.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org