Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-603

Static revision replacement is not working when a dynamic revision is evicted by a transitive dependency.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1, 2.0.0-alpha-2
    • 2.0.0-beta-1
    • Ant, Core
    • None

    Description

      If A depends on B, rev="1+" (which resolves to, say, A-1.2) and on C, rev="2.0", and C-2.0 depends on A, rev="2.2", i.e. if during resolution a dynamic dependency (A-1+ in this case) is evicted via a transitive dependency (A-2.2 via C-2.0), the delivered Ivy-file still contains the A-1+ dependency.

      This seems to be similar to IVY-404 and IVY-415, but maybe completely unrelated implementation-wise.

      I'll append testcases for both 1.4.x and trunk.

      Attachments

        1. deliver-dyn-evicted-1.4.x.diff
          2 kB
          Matthias Kilian
        2. deliver-dyn-evicted-trunk.diff
          2 kB
          Matthias Kilian

        Activity

          People

            xavier Xavier Hanin
            mkilian Matthias Kilian
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: