You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "David Turner (JIRA)" <ji...@apache.org> on 2014/09/05 04:15:24 UTC

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

     [ https://issues.apache.org/jira/browse/IVY-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Turner updated IVY-1486:
------------------------------
    Attachment: ivy-min2.xml

> 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: 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)