Community
Participate
Working Groups
Build Identifier: 20100917-0705 I have a JAR maven project. After I convert the project to a faceted project and add the "Utility Module" facet, the following warning is added to the Problems list: Classpath Dependency Validator Message: Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result. I can use the Ctrl+1 quick fix method and exclude the classpath entry from potential export dependencies, but as soon as I run "Update project configuration" the fix is overwritten and I have to apply it again. I use M2E 0.12.1.20110112-1712. Similar bugs: https://bugs.eclipse.org/bugs/show_bug.cgi?id=318809 - "Update Maven Configuration" corrupts WEB project's .classpath" https://issues.sonatype.org/browse/MNGECLIPSE-855 - Unnecessary warning "MAVEN2_CLASSPATH_CONTAINER will not be exported or published" in WTP project Reproducible: Always Steps to Reproduce: 1. Install Eclipse Helios SR1 2. Install M2E 0.12 3. Create a new JAR maven project 4. Convert the project to a faceted project 5. Add the "Utility Module" facet. 6. Fix the problem with Ctrl+1 and selecting "Exclude". 7. Run "Update project configuration", the problem resurfaces.
How is this different from bug 318809? *** This bug has been marked as a duplicate of bug 318809 ***
(In reply to comment #1) > How is this different from bug 318809? > > *** This bug has been marked as a duplicate of bug 318809 *** Bug 318809 was reported for a Dynamic Web Project, this bug is for a Faceted Project with a "Utility Module" facet. Furthermore, I can reproduce the bug even when WTP integration is not installed. Do you think I should report this bug to https://issues.sonatype.org/browse/MECLIPSEWTP, as you recommend for bug 318809?
m2e does not directly integrate with wtp and we will not make any wtp-specific changes in m2e. Here is a quote from MNGECLIPSE-855 <quote> please open a ticket under https://issues.sonatype.org/browse/MECLIPSEWTP with a step by step way to reproduce the problem and sample projects, if possible. </quote>
Moved to https://github.com/eclipse-m2e/m2e-core/issues/