ant-notifications mailing list archives

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

             Summary: Resolve does not deliver all dependent artifacts
                 Key: IVY-1366
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.3.0-RC1
            Reporter: Wolfgang Frank

We have three configurations.

   <conf name="runtime" extends="requires, compile" transitive="true"/>
   <conf name="requires" />
   <conf name="compile"/>

Additional we have the following dependencies between ivy modules (test, a, b, c) (each module
has a simple jar as artifact):
test "requires->#" a
test "requires->#" c

c "requires->#" a
c "requires->#" b
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