[
https://jira.codehaus.org/browse/MRESOURCES-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275372#comment-275372
]
Haixing Hu commented on MRESOURCES-152:
---------------------------------------
By the way, I set the priority to "blocker" because many of my project depends
on JUnit 4 in theire unit tests. And also many of them depends on
maven-resources-plugin. I have to implements all assertArrayEquals(...)
functions by myself to make them compiled :-(
> The dependency of JUnit 3.8.1 may override the depended JUnit version of the
> project
> ------------------------------------------------------------------------------------
>
> Key: MRESOURCES-152
> URL: https://jira.codehaus.org/browse/MRESOURCES-152
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Haixing Hu
> Priority: Blocker
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira