Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-379

Problem when relocations and ranges are used in collection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Resolver
    • None

    Description

      Affects both old DF and new BF collectors.
      Example:

      • A1 -> B[1,3]
      • B1 relocated to C1
      • B2 relocated to C2
      • B3 relocated to C3

      In this example, as output of collection dirty tree (verbose) I'd expect:

      A1
      +- C1
      +- C2
      +- C3
      

      But none of the DF or BF produce this, moreover, they produce DIFFERENT outputs:

      DF does this:

      A1
      +- C1
      

      BF does this:

      A1
      +- C3
      

      Cause is probably as BF "reverse sort" versions, but none will return proper range.

      Real life example: MRESOLVER-376, where junit:junit-dep:[4.9,) range "maps itself" onto junit:junit versions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: