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

Resolving results in weird working@[localhostname] revisions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.4.0-RC1
    • 2.4.0
    • Core
    • None

    Description

      I wanted to give 2.4.0-RC1 a try and ran into this issue. See the log for details.

      I stripped down the case to the bare minimum of what causes the error. If i specify the following dependencies, resolving conf='
      runtime' will fail with "unresolved dependencies":

      <dependency org="org.slf4j" name="slf4j-api" rev="1.7.7" conf="compile->default" />
      <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.7.7" conf="runtime->default" />

      (...)
      :: log4j#log4j;working@PIT11: not found
      (...)

      we are separating compile-time dependencies (slf4j-api) from runtime dependencies (slf4j-log4j12); this must be specified as two dependencies (as far as I know).
      The funny thing is that if I alter the version of slf4j-api to "1.7.6", clear the ivy cache and resolve again, it will work smoothly. Version 1.7.6 of slf4j-api will simply get evicted (as expected).

      Attachments

        1. ivy.zip
          4 kB
          Ulrike M
        2. ivy.log
          4 kB
          Ulrike M

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ulrikem Ulrike M
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: