Ivy
  1. Ivy
  2. IVY-1240

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0-RC1
    • Component/s: None
    • Labels:
      None

      Description

      In some of our project we had:

      <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" />
      

      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:

      <dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf1,conf2,conf3" />
      

        Activity

        Nicolas Lalevée made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s trunk [ 12313426 ]
        Resolution Fixed [ 1 ]
        Nicolas Lalevée created issue -

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Nicolas Lalevée
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development