Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Classifiers lead to classpath confusion

I configured the maven-war-plugin with:

<attachClasses>true</attachClasses>

and then declared the resulting classified artifact as a dependency.

M2E appears to be struggling with this; when I launch for debugging,
classes from the classified artifact are missing, and I get some
strange warnings from slf4j that suggest that other parts of the
webapp project are being dragged into the classpath. Note that the
webapp project is inside my eclipse workspace.

If this is news, I can make a test case and attach it to a bz.


Back to the top