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

Ivy.findModule() does not invalidate artifacts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Flags:
      Patch

      Description

      I have Java code, that at one point calls Ivy.findModule(). If there are new ivys and artifacts for this module in repository, then Ivy.findModule() updates ivys, but does not delete artifacts. Subsequent resolutions then return cached new ivys and outdated artifacts. That poses a problem.

      The proposed solution is to use changing=true in synthetic DependencyDescriptor created by ResolveEngine.findModule().

        Attachments

        1. patch
          0.8 kB
          mephi42

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mephi42 mephi42
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: