Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Cannot Reproduce
-
2.5
-
None
-
None
-
None
Description
As the following pages state:
http://maven.apache.org/plugins/maven-resources-plugin/dependencies.html
The maven resources plugin itself depends on the JUnit 3.8.1, and any project using this plugin will be introduced a transitive dependency of JUnit 3.8.1. This will cause the projects which use JUnit 4.x in their unit test fail to pass the compilation under the command line (i.e., via "mvn install"), but they could be compiled under eclipse.
I can't understand why this plugin has to introduce the dependency of Junit. Is it really necessary? If it is, could you please upgrade the JUnit to version 4 or above? Since JUnit 4.x provides a lot of assertArrayEquals(...) functions, which are really widely used.
Thank you in advance.