You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2009/05/26 16:49:45 UTC
[jira] Created: (IVY-1083) transitive dependencies and conflict
management
transitive dependencies and conflict management
-----------------------------------------------
Key: IVY-1083
URL: https://issues.apache.org/jira/browse/IVY-1083
Project: Ivy
Issue Type: Bug
Components: Core
Affects Versions: 2.1.0-RC1, 2.0
Reporter: Xavier Hanin
Assignee: Xavier Hanin
let's say we have the following modules:
{noformat}
mod20.4 -> mod20.3;1.0 mod20.2;1.0
mod20.3;1.0 -> mod20.1;1.0
mod20.2;1.0 -> mod20.1;1.1 (transitive false)
mod20.1;1.0 -> mod1.2;1.0
mod20.1;1.1 -> mod1.2;1.0
{noformat}
when the conflict manager evicts mod20.1;1.0 in favor of mod20.1;1.1, it loses the information that the dependency was transitive from mod20.3, and as such transitively exclude mod1.2.
Note that if the dependencies in mod20.4 are expressed the other way (mod20.2;1.0 mod20.3;1.0) then transitivity is handled correctly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-1083) transitive dependencies and conflict
management
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-1083:
-------------------------------
Fix Version/s: (was: trunk)
2.1.0-RC2
> transitive dependencies and conflict management
> -----------------------------------------------
>
> Key: IVY-1083
> URL: https://issues.apache.org/jira/browse/IVY-1083
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0, 2.1.0-RC1
> Reporter: Xavier Hanin
> Assignee: Xavier Hanin
> Fix For: 2.1.0-RC2
>
>
> let's say we have the following modules:
> {noformat}
> mod20.4 -> mod20.3;1.0 mod20.2;1.0
> mod20.3;1.0 -> mod20.1;1.0
> mod20.2;1.0 -> mod20.1;1.1 (transitive false)
> mod20.1;1.0 -> mod1.2;1.0
> mod20.1;1.1 -> mod1.2;1.0
> {noformat}
> when the conflict manager evicts mod20.1;1.0 in favor of mod20.1;1.1, it loses the information that the dependency was transitive from mod20.3, and as such transitively exclude mod1.2.
> Note that if the dependencies in mod20.4 are expressed the other way (mod20.2;1.0 mod20.3;1.0) then transitivity is handled correctly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-1083) transitive dependencies and conflict
management
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Hanin resolved IVY-1083.
-------------------------------
Resolution: Fixed
Fix Version/s: trunk
I've added a unit test and fixed the problem.
> transitive dependencies and conflict management
> -----------------------------------------------
>
> Key: IVY-1083
> URL: https://issues.apache.org/jira/browse/IVY-1083
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0, 2.1.0-RC1
> Reporter: Xavier Hanin
> Assignee: Xavier Hanin
> Fix For: trunk
>
>
> let's say we have the following modules:
> {noformat}
> mod20.4 -> mod20.3;1.0 mod20.2;1.0
> mod20.3;1.0 -> mod20.1;1.0
> mod20.2;1.0 -> mod20.1;1.1 (transitive false)
> mod20.1;1.0 -> mod1.2;1.0
> mod20.1;1.1 -> mod1.2;1.0
> {noformat}
> when the conflict manager evicts mod20.1;1.0 in favor of mod20.1;1.1, it loses the information that the dependency was transitive from mod20.3, and as such transitively exclude mod1.2.
> Note that if the dependencies in mod20.4 are expressed the other way (mod20.2;1.0 mod20.3;1.0) then transitivity is handled correctly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.