Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-517

Invalid classpath order with classesDirectory and testClassesDirectory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.3
    • None
    • None
    • None

    Description

      Surefire plugin adds classesDirectory and testClassesDirectory at the end of classpath which makes it impossible to "override" any classes/resources available in project dependencies with test version of class/resource. This problem is closely related to SUREFIRE-333. I will attach sample project and a trivial fix shortly

      Attachments

        1. SUREFIRE-517.zip
          19 kB
          igorfie
        2. SUREFIRE-517.diff
          1 kB
          igorfie

        Issue Links

          Activity

            People

              pgier Paul Gier
              igorf Igor Fedorenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: