Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] M2E + Tycho + projects with test in name

Hi all,

given a project with name org.xtext.example.test
that has <packaging>eclipse-plugin</packaging>
when i do a context menu -> maven -> update project
then the .classpath gets wrongly updated to


<classpath>
    <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
    <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    <classpathentry kind="src" path="src/">
        <attributes>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="src" path="src-gen/">
        <attributes>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="src" path="xtend-gen/">
        <attributes>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="output" path="target/classes"/>
</classpath>


the source folders are wrongly flagged as
<attribute name="test" value="true"/>

where is m2e is this coming from?
is it in the tycho connector? is it in m2e core?
where can i find the source codes for these?

Thanks
Christian


-- 
Vorstand/Board: Jens Wagener (Vors./chairman), Dr. Stephan Eberle, 
Abdelghani El-Kacimi, Wolfgang Neuhaus, Franz-Josef Schuermann
Aufsichtsrat/Supervisory Board: Michael Neuhaus (Vors./chairman), Harald 
Goertz, Stephan Grollmann
Sitz der Gesellschaft/Registered Office: Am 
Brambusch 15-24, 44536 Lünen (Germany)
Registergericht/Registry Court: 
Amtsgericht Dortmund | HRB 20621


Back to the top