Only the last dependency descriptor is taken into account on the same module
----------------------------------------------------------------------------

                 Key: IVY-1240
                 URL: https://issues.apache.org/jira/browse/IVY-1240
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Nicolas Lalevée


In some of our project we had:
{code:xml}
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf1" />
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf2" />
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf3" />
{code}
When resolving dependencies with the conf "*", the resulting "compile" conf 
report did contain dependencies of the conf1, conf2 and conf3 of mymodule. But 
the resulting "runtime" conf report, contained only the configuration of conf3 
of mymodule.

Changing the dependency into the following one fixed it:
{code:xml}
<dependency org="org" name="mymodule" rev="1.0" 
conf="compile,runtime->conf1,conf2,conf3" />
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to