ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolfgang Frank (JIRA)" <>
Subject [jira] [Updated] (IVY-1366) Resolve does not deliver all dependent artifacts
Date Tue, 24 Jul 2012 13:52:35 GMT


Wolfgang Frank updated IVY-1366:


Example for this problem.
The testcase is ISH-1.
> Resolve does not deliver all dependent artifacts
> ------------------------------------------------
>                 Key: IVY-1366
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0-RC1
>            Reporter: Wolfgang Frank
>         Attachments:
> We have three configurations.
> {code:title=Configurations}
> <configurations>
>    <conf name="runtime" extends="requires, compile" transitive="true"/>
>    <conf name="requires" />
>    <conf name="compile"/>
> </configurations>
> {code}
> Additional we have the following dependencies between ivy modules (test, a, b, c) (each
module has a simple jar as artifact):
> {code:title=Dependencies}
> test "requires->#" a
> test "requires->#" c
> c "requires->#" a
> c "requires->#" b
> {code}
> The artifacts have the configuration compile.
> If I do a resolve on test with configuration "runtime" I only get artifacts for modules
a and c but not b. 
> The problem happens in conflict resolution. Ivy generates the dependendies with wrong
rootModuleConfigurations. In out case, the module b is loaded with root module configuration
requires and not runtime.
> You find attached the example a unit test and a possible resolution in method computeConflicts
of ResolveEngine.
> Possible dependency to IVY-729

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message