You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by JesseLiu <je...@ecvision.com> on 2007/03/16 03:01:44 UTC

How to make my own repository prior to central in settings.xml?

Hi
I want maven2 first look up artifacts in my own repository , if not found ,then the central repository.
How should I config in the settings.xml

Thanks for any advise?

Jesse

Re: How to make my own repository prior to central in settings.xml?

Posted by Wendy Smoak <ws...@gmail.com>.
On 3/15/07, JesseLiu <je...@ecvision.com> wrote:

> I want maven2 first look up artifacts in my own repository , if not found ,then the
> central repository.
> How should I config in the settings.xml

I don't think you can control the order repositories are searched.

What you could do is have your repository proxy the central repo, and
then override the 'central' id in settings.xml so that it points to
your repository.

-- 
Wendy

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