On Fri, 2006-04-14 at 11:55 +0200, Emmanuel Venisse wrote: > If you don't want to use repo1 repository but your own, you must define a > mirror in your > settings.xml like this: > > <settings> > . > . > <mirrors> > <mirror> > <id>local</id> > <name>Local Mirror of http://repo1.maven.org/maven2/</name> > <url>http://localhost/mvnrepos/lib</url> > <mirrorOf>central</mirrorOf> > </mirror> > </mirrors> > . > . > </settings> > > If you use <repository> in your pom instead of a mirror setting, maven will > add your repo in the > search list but won't replace repo1 by your own repo.
Is this the case even when the <repository> tag in the pom has this? <id>central</id> I was under the impression that this would override the "super-pom" definition that pointed at the repo1.maven.org address... Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
