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

Transitive exclusion doesn't work with cleared cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0, 2.1.0, 2.3.0
    • None
    • None
    • None

    Description

      During partial ivy integration into legacy project I found that global exclude isn't respected for transitive dependencies with local filesystem resolver when ivy cache was just cleared. But it starts working again on the second run with present cache.

      The need for local filesystem resolver is mandated by the fact that ivy is currently used only to fetch transitive dependencies for selected modules while project modules themselves remain to be built from plain ant and are not published to repository.

      Attaching minimal sample project to reproduce the problem in ivy-transitive-exclude-bug.zip.
      It also demonstrates workaround with second retrieve in separate antcall.
      Just compare the result of retrieve-buggy and retrieve-workaround ant targets.

      Attachments

        1. ivy-transitive-exclude-bug.zip
          19 kB
          Vadim Kopichenko

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vadzim Vadim Kopichenko
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: