Re: Multiple proxies problem

2010-07-29 Thread René Krell

So far so good, but how is this used?
What if I need a http and a https proxy in one build?
What is this id good for and where can it be referred?


You might try adding an id element to each of the settings to make 
them distinct.

 From http://maven.apache.org/settings.html#Proxies:

id - The unique identifier for this proxy. This is used to 
differentiate between proxy elements.

Joe Hindsley

-- 
View this message in context: 
http://maven-users.828.n2.nabble.com/Multiple-proxies-problem-tp3257214p5347325.html
Sent from the maven users mailing list archive at Nabble.com.

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



Re: Multiple proxies problem

2009-07-15 Thread Joe Hindsley
You might try adding an id element to each of the settings to make 
them distinct.


From http://maven.apache.org/settings.html#Proxies:

id - The unique identifier for this proxy. This is used to 
differentiate between proxy elements.


Joe Hindsley


Koerner, Ron wrote:

Hi list,

I use several repositories which are both http and https. So I added
this to settings.xml:

proxies
proxy
activetrue/active
protocolhttps/protocol
hostproxy/host
port81/port
/proxy
proxy
activetrue/active
protocolhttp/protocol
hostproxy/host
port81/port
/proxy
/proxies

where proxy is our internal proxy.

No it seems that maven only ever uses the first entry, so in the current
configuration I can download from https-repositories while
http-repositories are contacted directly (which fails due to firewalls).

If I swap the entries I can download from http-repositories but not from
https...

I think (but cannot prove it) that this behaviour is new with maven
2.2.0, while everything was ok with 2.0.8.

Is this a bug or am I doing something wrong?

Thanks,
Ron



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



Multiple proxies problem

2009-07-14 Thread Koerner, Ron
Hi list,

I use several repositories which are both http and https. So I added
this to settings.xml:

proxies
proxy
activetrue/active
protocolhttps/protocol
hostproxy/host
port81/port
/proxy
proxy
activetrue/active
protocolhttp/protocol
hostproxy/host
port81/port
/proxy
/proxies

where proxy is our internal proxy.

No it seems that maven only ever uses the first entry, so in the current
configuration I can download from https-repositories while
http-repositories are contacted directly (which fails due to firewalls).

If I swap the entries I can download from http-repositories but not from
https...

I think (but cannot prove it) that this behaviour is new with maven
2.2.0, while everything was ok with 2.0.8.

Is this a bug or am I doing something wrong?

Thanks,
Ron

-- 
WINCOR NIXDORF International GmbH 
Sitz der Gesellschaft: Paderborn 
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen 
Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller 
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige 
Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie 
bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte 
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended 
recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden. 


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