Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] POM derived

This is how m2e marks classpath entries derived from contents of pom.xml
file. Classpath entries with this attribute set to true are removed and
recreated during project import and configuration update. Entries that
do not have this attribute are copied as-is. The idea is to preserve
manual classpath changes.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=353266

--
Regards,
Igor

On 12-08-24 4:15 AM, Alexander Potapov wrote:
Hello,

After Maven update on some project I get modification in classpath, i.e.
additional attribute maven.pomderived with value true:


<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con"
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>


What this property does and how it works at all?



Br,
Alexander


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top