Hi,

Reading the book, "Better builds with maven", on pg 28 it is suggested
that the order in which you have defined repositories in your POM will
determine the order maven will use to retrieve dependencies.

Thanks
Lakshman


> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 8 August 2006 6:33 AM
> To: Maven Users List
> Subject: Re: How can I tell Maven to use my internal repository first?
> 
> Most people resolve this by setting up a Maven Proxy (or Proximity) in
> their local corporate environment. Then you can configure your proxy
> to look at Central and/or local internal repo for artifacts.
> 
> Wayne
> 
> On 8/7/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > You can't tell Maven to check your local repo first.
> >
> > You can however override Central (with mirrorOf in settings) but
then
> > you will not able to connect to Central at all.
> >
> > Wayne
> >
> > On 8/7/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
> > > I have setup an internal repository in our intranet, and added it
to the
> > > project's POM, but Maven still tries repo1.maven.org before trying
our
> > > internal repo.
> > > How can I tell it to try my internal repository first? It's the
only one
> > > listed in the project's POM.
> > > Maven is 2.0.4
> > >
> > > TIA,
> > > Daniel Serodio
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to