This is very clean clear statement! 
Please make maven pointing this out to the user to use a repo if it is so 
wasteful.
I am by far not an expert of maven or repositories, but I agree with you, 

it gets much more simple 

as all proxy connections and all connections to external servers can be handled 
at one point, the repository in the role of a proxy 

So far I did not manage to make nexus reach out through our firewall because
I do not know how to pass such a thing as -Dhttp.auth.preference=Basic
to our proxy server on a attempt to take central into service. (Sorry a nexus 
issue)
Josef

-----Ursprüngliche Nachricht-----
Von: Ron Wheeler [mailto:rwhee...@artifact-software.com] 
Gesendet: Donnerstag, 13. Oktober 2011 20:24
An: users@maven.apache.org
Betreff: Re: default auth for settings.xml

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: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


Reply via email to