On Nov 22, 2007 9:20 AM, Saloucious <[EMAIL PROTECTED]> wrote: > I'm trying to redirect central repository to my maven proxy, > > <mirrors> > <mirror> > <id>central</id> > <mirrorOf>central</mirrorOf> > <url>http://myproxy</url> > </mirror> > </mirrors> > > > But I don't understand why Maven is trying to contact > http://repo1.maven.org/maven2 : > > ---------- > 1 required artifact is missing. > > for artifact: > de.pdark:dsmp:jar:1.1 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2)
I have this on my list to double check (and complain about) but I think if you use a mirror, Maven always prints the "original" url, even if it is really contacting a different url. Can you watch the network traffic and confirm? > I've replaced <url>http://myproxy</url> to a non existing url to exonerate > my proxy ... I've got same trace. > > However if instead of define a mirror, I create a profile with a repository > id central, Maven seems to stop trying to connect to > http://repo1.maven.org/maven2 Are you basing this conclusion solely on the printed messages? -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]