Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3090

Nearest dependency, which is not included by a filter, wins, although a farthest dependency, which is included by the same filter, does not win.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.7
    • None
    • None
    • Patch

    Description

      There seems to be a problem with transitive dependencies and the nearest wins strategy. The nearest dependency wins, although a filter is in use which will not include that dependency when there is the same dependency at a deeper level, where it is included by the same filter. The nearest dependency gets discarded (e.g. is missing on the compile classpath) although the farthest dependency would have been included. Please see the comments in the attached patch.

      Attachments

        1. maven-artifact-2.0.x.patch
          3 kB
        2. testcase.tar.bz2
          2 kB
        3. MNG-3090.patch
          1 kB

        Issue Links

          Activity

            People

              jvanzyl Jason van Zyl
              schulte77 Christian Schulte
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: