Community
Participate
Working Groups
Build Identifier: I20100608-0911 Running a "Update Maven Configuration" to a well configured dynamic web project brake the ".classpath". Original and also well configured ".classpath" was : ... <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> </attributes> </classpathentry> ... After "Update Maven Configuration", we obtain an incorrect ".classpath" causin some "ClassNotFound" at runtime : ... <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" /> ... Reproducible: Always Steps to Reproduce: 1. Create a new "dynamic web project" 2. From Maven menu, on this new project, "Enable Dependecy Management" specifying you create a WAR packaging project 3. From Maven menu, on this new project, "Update Maven Configuration" Important thing : everything worked fine with 0.9.9 version.
A nice sample is a "https://src.springframework.org/svn/spring-samples/petclinic/trunk" checkout. Spring team still use the 0.9.9 m2e version. In a fresh Helios+M2E 0.10.2.20100623-1649 version, "Update Maven Configuration" broke .classpath. Am I wrong somewhere?
WTP integration is not supported yet in this project. Bug for this should be opened against https://issues.sonatype.org/browse/MNGECLIPSE
(In reply to comment #2) > WTP integration is not supported yet in this project. Bug for this should be > opened against https://issues.sonatype.org/browse/MNGECLIPSE I hope the last comment is a joke. The sonatype bug repository you specified is read-only, and recommends that we file the bugs against Eclipse Bugzilla: "This is a READ-ONLY JIRA PROJECT Use Eclipse Bugzilla to file new bug reports and enhancement requests." So, to recap, I first found the bug reported and not fixed at http://jira.codehaus.org/browse/MNGECLIPSE-855 . But the codehaus repository was moved to the sonatype repository, so the issue is actually marked as fixed there: https://issues.sonatype.org/browse/MNGECLIPSE-855, in version 0.9.9.200912221003 . But I have version 0.12, and the problem persists.
The correct repository to file problem reports and enhancement requests for m2e-wtp integration is https://issues.sonatype.org/browse/MECLIPSEWTP
*** Bug 346237 has been marked as a duplicate of this bug. ***
Moved to https://github.com/eclipse-m2e/m2e-core/issues/