Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] m2e keeps resetting exported="true" of classpath entry MAVEN2_CLASSPATH_CONTAINER

Hello,

I have a multi module project that requires to export Maven dependencies in one of the module.
If I do that, the .classpath file will have exported="true" added like so

        <classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">


But on reimport or Update Maven cofiguration, that exported="true" is removed and my project fails to compile again.

Is there a way to have that setting stuck? Checking in a .classpath doesn't work at all since m2e keeps resetting it and whoever import the project will have to set it again.

Any pointer or workaround will be great,

Thank you,

Hung-



Back to the top