You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Giguere <e....@nhc.com> on 2004/01/13 20:30:57 UTC

Multiple remote repsitories + proxy settings

Hi all
A quick one. We're behind a firewall and use a proxy server to go on the Net.
And we have a "remote" repository for jars that is on our internal network.

Lets say I want to still use the one at ibiblio.org as a fallback repository.
I know how to configure multiple remote repositories but, is it possible to
specify proxy settings for lets say only the second remote repository in the
list? I ask because if I set proxy settings, I can access the default
repository, but not our local one. If I don't set proxy properties, then its
the fallback (ibiblio.org) that becomes innaccessible because of our proxy
server.

Is there a work around?

thx for any help

Eric.

============================================
Eric Giguere, ing.

Software Team Leader
NHC Communications Inc. http://www.nhc.com/

5450 Cote de Liesse
Mont-Royal (Quebec)
Canada  H4P 1A5
============================================





RE: Multiple remote repsitories + proxy settings

Posted by Eric Giguere <er...@videotron.ca>.
Hi Gilles
Works perfectly, that is exactly what I wanted to setup.

Merci ;)

Eric.


> -----Original Message-----
> From: Gilles Dodinet [mailto:rhill2@free.fr]
> Sent: January 13, 2004 7:49 PM
> To: Maven Users List
> Subject: Re: Multiple remote repsitories + proxy settings
> 
> 
> Eric,
> 
> you might want to look at MavenProxy. Ive never used it but  it seems 
> you can specify proxy policies per repository.
> 
> http://wiki.codehaus.org/maven/MavenProxy
> 
> -- gd
> 
> Eric Giguere wrote:
> 
> >Hi all
> >A quick one. We're behind a firewall and use a proxy server to 
> go on the Net.
> >And we have a "remote" repository for jars that is on our 
> internal network.
> >
> >Lets say I want to still use the one at ibiblio.org as a 
> fallback repository.
> >I know how to configure multiple remote repositories but, is it 
> possible to
> >specify proxy settings for lets say only the second remote 
> repository in the
> >list? I ask because if I set proxy settings, I can access the default
> >repository, but not our local one. If I don't set proxy 
> properties, then its
> >the fallback (ibiblio.org) that becomes innaccessible because of 
> our proxy
> >server.
> >
> >Is there a work around?
> >
> >thx for any help
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Re: Multiple remote repsitories + proxy settings

Posted by Gilles Dodinet <rh...@free.fr>.
Eric,

you might want to look at MavenProxy. Ive never used it but  it seems 
you can specify proxy policies per repository.

http://wiki.codehaus.org/maven/MavenProxy

-- gd

Eric Giguere wrote:

>Hi all
>A quick one. We're behind a firewall and use a proxy server to go on the Net.
>And we have a "remote" repository for jars that is on our internal network.
>
>Lets say I want to still use the one at ibiblio.org as a fallback repository.
>I know how to configure multiple remote repositories but, is it possible to
>specify proxy settings for lets say only the second remote repository in the
>list? I ask because if I set proxy settings, I can access the default
>repository, but not our local one. If I don't set proxy properties, then its
>the fallback (ibiblio.org) that becomes innaccessible because of our proxy
>server.
>
>Is there a work around?
>
>thx for any help
>  
>



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