Community
Participate
Working Groups
Build Identifier: STS 2.7.1.201107091000-RELEASE - Eclipse Core Runtime 3.7.0.v20110110 'schema' seems to be a reserved name in some sense. We have a module named 'container' which depends on another named 'schema'. Module schema, with jar packaging, contains just XSD resources. Tests within 'container' fail and their classpath printed out at runtime does not contain the 'schema' module. Simply renaming 'schema' to anything else, say 'myschema', resolves the issue. Reproducible: Always Steps to Reproduce: 1. create a multi-module project, with two jar modules: 'container' depending on 'schema' 2. Print or otherwise examine the classpath of 'container'. 'schema' is missing. 3. Rename 'schema' and retry. Problem resolved.
Created attachment 205757 [details] working example I am not able to reproduce the problem using current m2e 1.1 and I am fairly certain the problem does not exist in m2e 1.0 either (see attached working example). If I were to guess, I'd say either STS ships with a patched m2e or one of m2e extensions included with STS messes up project dependencies. In any case, if you believe the problem is with m2e itself, please provide a complete standalone project that we can use to reproduce the problem using eclipse distribution "for java developers" available from eclipse.org.
thanks for the prompt response! I will take a closer look at isolating the issue, as suggested.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/