You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Cordes <dt...@retail-sc.com> on 2010/07/23 09:04:23 UTC
Configuring Authentication: How to specify scm username/password in
settings.xml instead of pom.xml
Hi!
On
http://maven.apache.org/scm/maven-scm-plugin/examples/bootstrapping-with-pom.html
it is just stated that username/password can be stored in the pom.xml.
How to specify it in the settings.xml?
--
RSC Commercial Services OHG
Wanheimer Strasse 70, D-40468 Duesseldorf
Registergericht: Duesseldorf, HRA 12655
Re: Configuring Authentication: How to specify scm username/password
in settings.xml instead of pom.xml
Posted by Marshall Schor <ms...@schor.com>.
also, for encryption, read
http://maven.apache.org/guides/mini/guide-encryption.html
-Marshall Schor
On 7/23/2010 3:04 AM, Stefan Cordes wrote:
> Hi!
> On
> http://maven.apache.org/scm/maven-scm-plugin/examples/bootstrapping-with-pom.html
>
> it is just stated that username/password can be stored in the pom.xml.
>
> How to specify it in the settings.xml?
>
>
> --
> RSC Commercial Services OHG
> Wanheimer Strasse 70, D-40468 Duesseldorf
> Registergericht: Duesseldorf, HRA 12655
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Configuring Authentication: How to specify scm username/password
in settings.xml instead of pom.xml
Posted by Anders Hammar <an...@hammar.net>.
One way of doing this is defining properties in an active profile in
settings.xml and use those properties when configuring the scm-plugin in the
pom. There are othersolutions as well and may depend on your scm.
/Anders
On Fri, Jul 23, 2010 at 09:04, Stefan Cordes <dt...@retail-sc.com> wrote:
> Hi!
> On
>
> http://maven.apache.org/scm/maven-scm-plugin/examples/bootstrapping-with-pom.html
>
> it is just stated that username/password can be stored in the pom.xml.
>
> How to specify it in the settings.xml?
>
>
> --
> RSC Commercial Services OHG
> Wanheimer Strasse 70, D-40468 Duesseldorf
> Registergericht: Duesseldorf, HRA 12655
>
>