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

Exclusions not properly applied to circular dependencies

    XMLWordPrintableJSON

Details

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

    Description

      Exclusion rules are not applied properly to circular dependencies.

      Specifically, in doesCallersExclude() in org.apache.ivy.core.resolve.IvyNodeCallers this return condition:
      if (callersStack.contains(node.getId()))

      { return false; }

      causes the process to abort before reaching the exclusion rules at the top-level module.

      I examined the source for 2.1.0 RC1, but I've experienced the same behavior under 2.0.0.

      Attachments

        1. circular_dependency_bug.tgz
          1 kB
          John Gibson

        Activity

          People

            Unassigned Unassigned
            jgibson John Gibson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: