> -----Original Message-----
> From: Eric Giguere [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 13, 2004 9:34 PM
> To: Maven User List
> Subject: Multiple remote repository + 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?
> 

The simplest way of doing this is to use file:// protocol for accessing your
intranet repository
Just map a network drive to you repository and you are done. 
You can even map a network drive to FTP/HTTP/WebDav repository and have a
support for all those protocols which are currently
unsupported by Maven (haven't tested such things but normally  it should
work) but are supported by your operating system.
You must be just careful with SNAPSHOT artifact and see exactly what will
happen and how they will be resolved.


Michal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to