maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Chheng <tommy.chh...@gmail.com>
Subject Re: default auth for settings.xml
Date Thu, 13 Oct 2011 18:28:01 GMT
I have nexus installed and the servers are proxied, how can I use nexus to
set a default username/password for each server?


On Thu, Oct 13, 2011 at 11:24 AM, Ron Wheeler <
rwheeler@artifact-software.com> wrote:

> On 13/10/2011 2:06 PM, Tommy Chheng wrote:
> Do you have Nexus or another repo installed?
> If not, do that first.
> That will fix your settings.xml problem in a much more sensible way and
> make your whole life a lot easier.
> Using Maven without a repo is a horribly wasteful thing to do.
>
> Ron
>
>  Hi,
>> I have a few servers in the settings.xml where the username/password is
>> the
>> same for all server ids.
>>
>> is there a way to set a default username/password so i don't have to add a
>> new server xml block every time?
>>
>>  26<server>
>>  27<id>scala-tools.org</id>
>>  28<username>t</username>
>>  29<password>XXX</password>
>>  30</server>
>>  31<server>
>>  32<id>sweble</id>
>>  33<username>t</username>
>>  34<password>XXX</password>
>>  35</server>
>>  36</servers>
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwheeler@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
@tommychheng
http://tommy.chheng.com

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