Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-152

The dependency of JUnit 3.8.1 may override the depended JUnit version of the project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              starfish Haixing Hu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: