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

Wrong resolution of dependencies if artifacts specified explicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3.1
    • 1.4-RC1
    • None
    • None

    Description

      Let we have module "bebe" rev 15.16.17 with specified dependencies:

      ===
      <dependency name="org.springframework" rev="2.0-rc1">
      <artifact name="spring-core" type="jar"/>
      </dependency>
      ===

      This module has jar and ivy.xml uploaded to some repository. And have our main program with dependencies:

      ===
      <dependency name="bebe" rev="15.16.17"/>

      <dependency name="org.springframework" rev="2.0-rc1">
      <artifact name="spring-core" type="jar"/>
      <artifact name="spring-dao" type="jar"/> <!-- Line added -->
      </dependency>
      ===

      After invoking ant retrieve in main program build file, artifact spring-dao won't get into my target jars directory, there will be only spring-core.jar.

      I don't even know workaround...

      Attachments

        Activity

          People

            xavier Xavier Hanin
            yozh Stepan Koltsov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: