Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.7
-
None
-
Patch
Description
Currently maven-project creates the test classpath in the order: classes, tests-classes, dependencies.
It would be better if test-classes came first because sometimes it is useful for a test class to replace a main class during testing. The opposite case is not normally true (i.e. one would not want to override a test class with one of the main classes).
Attachments
Attachments
Issue Links
- is duplicated by
-
MNG-2365 classes before test-classes in MavenProject.getTestClasspathElements() - should be the other way around?
- Closed
- relates to
-
MECLIPSE-388 Correct classpath ordering in .classpath
- Closed
-
SUREFIRE-61 Incorrect classpath ordering
- Closed
-
MECLIPSE-318 test classes and resources need to be first in .classpath file
- Closed