Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.7
-
Fix Version/s: 2.0.8, 3.0-alpha-1
-
Component/s: General
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
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
Issue Links
| This issue is duplicated by: | ||||
| MNG-2365 | classes before test-classes in MavenProject.getTestClasspathElements() - should be the other way around? |
|
|
|
| This issue relates to: | ||||
| SUREFIRE-61 | Incorrect classpath ordering |
|
|
|
| MECLIPSE-388 | Correct classpath ordering in .classpath |
|
|
|
| MECLIPSE-318 | test classes and resources need to be first in .classpath file |
|
|
|
Simple patch that reverses the classpath ordering of classes and test-classes.