Bug report created: http://jira.codehaus.org/browse/MNGECLIPSE-1055
--- Todd Thiessen -----Original Message----- From: Igor Fedorenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 3:55 PM To: [email protected] Subject: Re: [m2eclipse-user] Using an internal central repository without changing settings.xml There is a chance version of maven embedder used by m2e does not properly handle project-specific repository definitions. I will try to reproduce this problem myself, but if you could create a bugreport in JIRA [1] with sample project and steps to reproduce, this would certainly help. Also, adding repository definition to pom.xml files is generally not recommended. This makes projects harder to move from one build environment to another. -- Regards, Igor Todd Thiessen wrote: > I've overridden the central repo in my pom. ie: > > <repositories> > <repository> > <id>central</id> > <url>http://localhost:8081/nexus/content/groups/public</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>central</id> > <url>http://localhost:8081/nexus/content/groups/public</url> > </pluginRepository> > </pluginRepositories> > > But for some reason, m2e still downloads some of the artifacts from > the maven central repo. Not all of them however. When running the > project from m2e within eclipse I get as output (partial). > > url = _http://localhost:8081/nexus/content/groups/public_ > Downloading: > _http://localhost:8081/nexus/content/groups/public/org/apache/maven/pl > ugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom_ > > url = _http://repo1.maven.org/maven2_ > Downloading: > _http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/ > 1/maven-plugins-1.pom_ > > > However, if I execute the same build from the command line, all > downloads go to my central repo, which is what I would expect. ie: > > Downloading: > _http://localhost:8081/nexus/content/groups/public/org/apache/maven/pl > ugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom_ > > Downloading: > _http://localhost:8081/nexus/content/groups/public/org/apache/maven/pl > ugins/maven-plugins/1/maven-plugins-1.pom_ > > --- > /Todd Thiessen/ > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
