Problem:
I have a custom JAR (built by our team) installed in my local
repository, and yet every time I do a build, Maven attempts to download
it from Central (iBiblio) before realizing it's located in my local
repository. I would like to prevent Maven from attempting to download
this JAR from Central every time I do a build.

Existing Solution:
Has anyone successfully dealt with this problem? I've seen several
threads on this topic without any resolution. I do not want to override
Central or disable downloading of JAR's from Central.

Potential Solution:
I would like to be able to specify the order in which Maven looks up
repositories. I would like for it to first look in my local repository,
then at a shared (corporate) repository, and finally go out to the
Central (iBiblio) repository.

There was another thread about this topic a while back:
http://mail-archives.apache.org/mod_mbox/maven-users/200604.mbox/%3cC0D4
[EMAIL PROTECTED] 
 
This message and any attachments are confidential, proprietary, and may be 
privileged.  If this message was misdirected, Barclays Global Investors (BGI) 
does not waive any confidentiality or privilege.  If you are not the intended 
recipient, please notify us immediately and destroy the message without 
disclosing its contents to anyone.  Any distribution, use or copying of this 
e-mail or the information it contains by other than an intended recipient is 
unauthorized.  The views and opinions expressed in this e-mail message are the 
author's own and may not reflect the views and opinions of BGI, unless the 
author is authorized by BGI to express such views or opinions on its behalf.  
All email sent to or from this address is subject to electronic storage and 
review by BGI.  Although BGI operates anti-virus programs, it does not accept 
responsibility for any damage whatsoever caused by viruses being passed.

Reply via email to