Exclusions not properly applied to circular dependencies
--------------------------------------------------------

                 Key: IVY-1067
                 URL: https://issues.apache.org/jira/browse/IVY-1067
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0, 2.1.0-RC1
         Environment:  % java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

 % ant -version
Apache Ant version 1.7.0 compiled on August 25 2008

            Reporter: John Gibson


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to