Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
Description
Run "mvn test" with the attached project. The setup will fail as "setup" never runs.
This test depends on junit:junit-dep rather than junit:junit. junit-dep is just like regular junit, except it doesn't bundle hamcrest in the junit jar; junit-dep.jar includes only junit.* stuff. The junit-dep pom depends on hamcrest-core 1.1.
Surefire fails to detect junit:junit-dep and treats the test as a POJO test.
Attachments
Attachments
Issue Links
- is superceded by
-
SUREFIRE-519 junit-dep 4.4+ isn't detected - transitive dependency to JUnit-3.x causes POJO-test treatment
- Closed