Hi,
I recently switched to Eclipse Juno (Juno SR1 build-id: 20121004-1855) having following m2e plugins:
m2e - Maven Integration for Eclipse 1.2.0.20120903-1050 org.eclipse.m2e.feature.feature.group
Eclipse.org - m2e
m2e connector for antlr 0.15.0.201207090124 org.sonatype.m2e.antlr.feature.feature.group
Sonatype, Inc.
m2e connector for build-helper-maven-plugin 0.15.0.201207090124 org.sonatype.m2e.buildhelper.feature.feature.group Sonatype, Inc.
m2e connector for mavenarchiver pom properties 0.15.0.201207090125-signed-201209140800 org.sonatype.m2e.mavenarchiver.feature.feature.group Sonatype, Inc.
m2e-wtp - Maven Integration for WTP (Incubation) 0.16.0.20120914-0945 org.eclipse.m2e.wtp.feature.feature.group Eclipse.org -
m2e-wtp
I got problems with my dependencies so I cleared my local repository to make sure they are all reloaded again from our repository (managed by Nexus 1.8.0.1).
The problem is that I can’t get this done from within eclipse. When I try ‘Maven->Update project’ the dependencies, parent poms, build plugins,… are not retrieved from nexus and my POM file is marked red with indications
of missing dependencies. However if I manualy enter ‘mvn clean install’ from my project root directory everything is retrieved from Nexus.
I even adjusted the snapshot repository in my settings.xml file as follows:
<repository>
<id>snapshots</id>
<url>http://pino:8081/nexus/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</repository>
Somehow I can’t get the dependencies of my project updated within Eclipse itself.
Is this a bug or am I missing something?
J.P. Urkens