You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Laforge <gl...@gmail.com> on 2005/04/11 13:42:44 UTC
Proxy settings and different remote repos
Hello,
I want to use two different repositories: a company-wide repository,
and in second place to fall through to ibiblio if I can't find an
artifact in the company repository.
The problem comes in when I have to specify my proxy settings: to
access my company repo, I don't need to specify my proxy settings, but
to access ibiblio, that's mandatory.
So the question is: is there a solution to that dilema? How can I
specify two remote repositories requiring different proxy settings (or
no settings at all to be clear)? Does Maven provide some magic
parameters for that?
Thanks in advance,
--
Guillaume Laforge
http://glaforge.free.fr/weblog/?catid=2
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Proxy settings and different remote repos
Posted by Brett Porter <br...@gmail.com>.
Unfortunately no. Maven 1.1 does accept proxy exclusions, but not 1.0.2.
You can see if httpclient will pick them up via the standard java
system property:
-Dproxy.nonProxyHosts=*.mycompany.com
Another alternative is to set up maven-proxy on your company repo -
all your clients can connect to that, and it will fallback to ibiblio
when not saved locally.
- Brett
On Apr 11, 2005 9:42 PM, Guillaume Laforge <gl...@gmail.com> wrote:
> Hello,
>
> I want to use two different repositories: a company-wide repository,
> and in second place to fall through to ibiblio if I can't find an
> artifact in the company repository.
>
> The problem comes in when I have to specify my proxy settings: to
> access my company repo, I don't need to specify my proxy settings, but
> to access ibiblio, that's mandatory.
>
> So the question is: is there a solution to that dilema? How can I
> specify two remote repositories requiring different proxy settings (or
> no settings at all to be clear)? Does Maven provide some magic
> parameters for that?
>
> Thanks in advance,
>
> --
> Guillaume Laforge
> http://glaforge.free.fr/weblog/?catid=2
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org