I am using the same approach and it works fine:

maven.repo.remote=file://<file_repository>,http://www.ibiblio.org/maven

You can set a file_repository accessible by anyone (developers) or you can set a user 
file store. In this case you can use 

I have a problem with this download from the file repository though:

The first time a jar is downloaded, Maven downloads it from the file store, but it 
also tries to download it from the http repository, giving me the following error:

Downloading file log4j-1.2.6.jar.
....
Error retrieving artifact from 
[http://www.ibiblio.org/maven/Jakarta/jars/log4j-1.2.6.jar]: 
java.net.UnknownHostException: www.ibiblio.org

Do you guys know why? Is is about md5 files?

Bye and thanks



-----Messaggio originale-----
Da: Maczka Michal [mailto:[EMAIL PROTECTED] 
Inviato: venerd́ 28 maggio 2004 13.55
A: 'Maven Users List'
Oggetto: RE: About Dependencies



> -----Original Message-----
> From: Amato Massimiliano (TLAB)
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 28, 2004 1:35 PM
> To: Maven Users List
> Subject: RE: About Dependencies
> 
> 
> Hello
> 
> I just didn't know it was possible, are you sure this is 
> supported since i didn't find it anywhere
> 
Yes I am sure.

http://maven.apache.org/reference/user-guide.html#Behavioural_Properties

-> see maven.repo.remote

I am using something like:

maven.repo.remote=http://our_intranet_repo/,http://www.ibiblio.org/maven

SO maven first looks for artifact which exits in "closer" repository which
makes downloads way faster.

you can even do 

maven.repo.remote=file://xxx/,http://ww.ibiblio.org/maven


With file protocol and network drive mapping facility you can even access
remote repositories 
(afaik some OS let you even map FTP, WebDav repositories)



Michal

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




This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the sender 
immediately and delete the original. Any other use of the email by you is prohibited.


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Su www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a 
navigare nel mondo TIM.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


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

Reply via email to