Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1240

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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" />
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: