ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] [Resolved] (IVY-1366) Resolve does not deliver all dependent artifacts
Date Thu, 30 Aug 2012 15:33:08 GMT


Maarten Coene resolved IVY-1366.

       Resolution: Fixed
    Fix Version/s: 2.3.0
         Assignee: Maarten Coene

This will be fixed in the next release. 
> 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
>            Assignee: Maarten Coene
>              Labels: testcase
>             Fix For: 2.3.0
>         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
For more information on JIRA, see:

View raw message