AW: default auth for settings.xml

2011-10-20 Thread Stadelmann Josef
) 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

Re: default auth for settings.xml

2011-10-14 Thread Ron Wheeler
This is more of a Nexus issue than Maven. You might want to move it to the Nexus forum. Read the Nexus docs. Ansgar is right and that will simplify your life a lot. Standard solution to your problem. Ron On 14/10/2011 3:00 AM, Ansgar Konermann wrote: Am 14.10.2011 01:16 schrieb "Tommy Chheng"

Re: default auth for settings.xml

2011-10-14 Thread Ansgar Konermann
Am 14.10.2011 01:16 schrieb "Tommy Chheng" : > > B is the most similar workflow. > > So i have a few remote maven repos i want to use: > i.e. scala-tools.org and sweble, etc. > > I added both of these to my Nexus server as proxy repos. > > In my local settings.xml, i had to add two entries. each

Re: default auth for settings.xml

2011-10-13 Thread Brian Topping
You can use the ID from one of them in both places. That's what I do. On Oct 13, 2011, at 7:16 PM, Tommy Chheng wrote: > B is the most similar workflow. > > So i have a few remote maven repos i want to use: > i.e. scala-tools.org and sweble, etc. > > I added both of these to my Nexus server

Re: default auth for settings.xml

2011-10-13 Thread Tommy Chheng
B is the most similar workflow. So i have a few remote maven repos i want to use: i.e. scala-tools.org and sweble, etc. I added both of these to my Nexus server as proxy repos. In my local settings.xml, i had to add two entries. each with the same set of nexus username/password. I would like

Re: default auth for settings.xml

2011-10-13 Thread Ansgar Konermann
Am 13.10.2011 20:57, schrieb Tommy Chheng: > The server ids are different because each is a different proxied server. What exactly do you mean by "each is a different *proxied server*"? a) I want to deploy to maven repositories on different servers which are located outside my organisation, but

Re: default auth for settings.xml

2011-10-13 Thread Guillaume Polet
I think that what he meant was that: 1) Having the same password on different servers is a poor security practice 2) If you have different passwords, then you will not try to set them once for all since they will be different. Not sure all these apply to your case. As far as I understand your

Re: default auth for settings.xml

2011-10-13 Thread Tommy Chheng
To clarify, it's the same account on the same nexus repo. The server ids are different because each is a different proxied server. How would the original problem vanish by changing the password for each server entry? On Thu, Oct 13, 2011 at 11:48 AM, Ansgar Konermann < ansgar.konerm...@googlemai

Re: default auth for settings.xml

2011-10-13 Thread Ansgar Konermann
Am 13.10.2011 20:06, schrieb Tommy Chheng: > I have a few servers in the settings.xml where the username/password is the > same for all server ids. Hi, use a different password for different servers. The server administrators will probably be very grateful for this fine act of computer security.

Re: default auth for settings.xml

2011-10-13 Thread Tommy Chheng
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 < rwhee...@artifact-software.com> wrote: > On 13/10/2011 2:06 PM, Tommy Chheng wrote: > Do you have Nexus or another repo inst

Re: default auth for settings.xml

2011-10-13 Thread Ron Wheeler
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 hav

default auth for settings.xml

2011-10-13 Thread Tommy Chheng
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 27 scala-tools.org 28 t 29 XXX 30 31 32 sw