You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sharma, Rohit" <Ro...@bankofamerica.com> on 2006/12/28 15:27:45 UTC

Multiple proxies issue with Maven

Hi,

 

We have a setup where build repository is located at two places, one on
the intranet and another on internet. There are two proxies set up, one
for the internet traffic and another for intranet traffic. When building
with maven, we have been unable to configure multiple proxies for
internet and intranet. It, by default, takes the first active proxy in
the list and if connection is not successful through that, the build
fails without even trying the other proxy.

 

Is there a way two active proxies can be configured in maven?

 

 

Regards,

 

Rohit Sharma

 

 




Notice to recipient:
The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority.

Re: Multiple proxies issue with Maven

Posted by Barrie Treloar <ba...@gmail.com>.
On 12/29/06, Sharma, Rohit <Ro...@bankofamerica.com> wrote:
> We have a setup where build repository is located at two places, one on
> the intranet and another on internet. There are two proxies set up, one
> for the internet traffic and another for intranet traffic. When building
> with maven, we have been unable to configure multiple proxies for
> internet and intranet. It, by default, takes the first active proxy in
> the list and if connection is not successful through that, the build
> fails without even trying the other proxy.
>
>
>
> Is there a way two active proxies can be configured in maven?

Not that I am aware of.

You will need to run something in the front to aggregate your two http proxies.
Something like mvnproxy or archiva and then point maven at this maven
mirror using your internal proxy only.

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