That is correct. Overriding central prevents loading from the Ibiblio repository.
I was a bit fast with my responce, since you would like to be able to update your internal repository as well. Th suggestion by Jim is a very interesting one. By having a symlinkto a user's local repository on your build machine you can indeed have the local repository of that user act as your internal repository. Whenever you need a new dependency you use that user so it's local repo gets updated. There is some fiddling with rights involved when you want to push your own dependencies to the internal repository. When you configure your internal repository as not being central. Maven will check local, yours and then central. This won't prevent users from accessing ibiblio. It is matter of taste/project preferences/company policy wether or not that's ok or not. But to my knowledge Jim's suggestion is actually the best on when you want to control Ibiblio access and have an easy job updating specific dependencies in the internal repository. -Jeroen On 20/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Jeroen, Thanks for your quick response. If I do that maven won't check ibiblio for any missing artifacts. Isn't that correct? If that is correct, then maven won't download the new required artifacts to the internal repository Thanks, David "Jeroen Leenarts" <[EMAIL PROTECTED]> 04/20/2007 07:55 AM Please respond to "Maven Users List" <users@maven.apache.org> To "Maven Users List" <users@maven.apache.org> cc Subject Re: Maven Repository Question Define your internal repository as central. That overrides the Maven Ibiblio repository setting. Jeroen On 20/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I'm pretty new to maven and have a repository question. I have set up a > internal repository that will hold the artifacts from ibiblio that my > project needs. My question is how do I make maven update / download new > required dependencies to the internal repository instead of the local > repository? > > In other words if I add a dependency to pom and if maven can't find it in > the local or the internal repositories and has to pull it from ibiblio, I > would like that new dependency to be downloaded to the internal repository > and then to the local repository. Any help you can provide would be > greatly appreciated. > > Thanks, > > David _____________________________________ CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you.