Description
We have three configurations.
<configurations> <conf name="runtime" extends="requires, compile" transitive="true"/> <conf name="requires" /> <conf name="compile"/> </configurations>
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