You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jeff Jenkins (JIRA)" <ji...@apache.org> on 2014/09/10 18:48:34 UTC

[jira] [Comment Edited] (IVY-1486) Order-dependent resolution: exclude not respected

    [ https://issues.apache.org/jira/browse/IVY-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128705#comment-14128705 ] 

Jeff Jenkins edited comment on IVY-1486 at 9/10/14 4:48 PM:
------------------------------------------------------------

I trimmed the ivy.xml down to this (ivy-exclude-finagle.xml).  As it is, the version of guava output is 16.0. If util-collection_2.10 is moved above finagle-memcached_2.10 then the guava version is 14.0 (which is what the specified dep is)


was (Author: jeffjenkins):
I trimmed the ivy.xml down to this.  As it is, the version of guava output is 16.0. If util-collection_2.10 is moved above finagle-memcached_2.10 then the guava version is 14.0 (which is what the specified dep is)

> Order-dependent resolution: exclude not respected
> -------------------------------------------------
>
>                 Key: IVY-1486
>                 URL: https://issues.apache.org/jira/browse/IVY-1486
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: trunk
>            Reporter: David Turner
>         Attachments: 0001-Make-doesCallersExclude-check-only-callers-of-this-v.patch, ivy-exclude-finagle.xml, ivy-min2.xml
>
>
> To repro, create an  ivy.xml which looks like this (see the attached one for an real-world example that you can test out):
> dependency A 1.1
> dependency X 1.2
>   exclude Y
> -------
> dependency A 1.1's depends on:
>    dependency X 1.1
> Dependency X 1.1's depends on:
>   dependency Y 1.1
> Dependency X 1.2's depends on:
>   dependency Y 1.2
> ------------------------------
> In this case, we will get Y 1.2.  But if we swap the order of the dependencies in our ivy.xml, we'll get Y 1.1.  I think 1.1 is correct, because we've excluded 1.2. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)