[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Re: How to configure proxy for multiple protocols
From:       Michal Hlavac <hlavki () hlavki ! eu>
Date:       2009-10-14 10:32:44
Message-ID: 4AD5A8CC.2030908 () hlavki ! eu
[Download RAW message or body]


network proxy settings in maven has really bad design. As I know, only
one proxy can active at the same time.

m.

Hugo Palma  wrote / napísal(a):
> I'm trying to use the same proxy for both http and https but i'm having no
> success.
> I've tried configuring like this:
> 
> <proxies>
>     <proxy>
>       <id>myhttp</id>
>       <active>true</active>
>       <protocol>http</protocol>
>       <host>192.168.0.4</host>
>       <port>8080</port>
>     </proxy>
> 
>     <proxy>
>       <id>myhttps</id>
>       <active>true</active>
>       <protocol>https</protocol>
>       <host>192.168.0.4</host>
>       <port>8080</port>
>     </proxy>
>   </proxies>
> 
> But only the first proxy is used. I also tried using the same id for both
> proxies with no success.
> Any ideas ?
> 
> Thanks.
> 



["smime.p7s" (application/x-pkcs7-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic