| Summary: | test-source/resources must have first position in the build path then main-source/resources | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andreas Höhmann <andreas.hoehmann> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | aeris+eclipse, igor, sebtardif |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Andreas Höhmann
Please provide complete standalone example project and steps to reproduce the problem FWIW, m2e is already expected to "inject" correct runtime classpath when RunAs->Java_Application and RunAs->JUnit_Test. Expected runtime classpath for application and tests is documented in [1] and I am not aware of any problems in this area. [1] https://docs.sonatype.org/display/M2ECLIPSE/Runtime+classpath This is a problem with external plugins which want to run tests, like Infinitest. See https://github.com/infinitest/infinitest/issues/53 Test sources and resources are only part of the problem, test dependencies are equally important. The only way Infinitest can have correct Maven test classpath is by using special runtime classpath resolution logic implemented. m2e-dev is a good place to discuss possible ways to make this happen. Closing old/stale bugreports. ack |