Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-174

The sources/javadocs are not added for dependencies which dont have a fixed revision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0.final
    • 2.0.0.final
    • None
    • None
    • Eclipse 3.4.2 sr2 _x64

    Description

      When we attach dependencies which are not having a fixed revision, the sources/javadoc are not attached in case ivy resolve does not find them.

      To be more extact the code which accounts for ivy not finding sources/javadoc is not triggered.

      How to reproduce:

      Add following dependency.

      <dependency org="org.springframework" name="spring-context"
      rev="2.5.+" conf="default" transitive="false"/>
      or
      <dependency org="org.springframework" name="spring-context"
      rev="latest.integration" conf="default" transitive="false"/>
      Clean all your ivy cache. Do resolve.

      If you want the dependency to add the javasource/javadoc you have to use fixed revision number

      <dependency org="org.springframework" name="spring-context"
      rev="2.5.6" conf="default" transitive="false"/>

      Attachments

        1. IVYDE-174_patch.txt
          2 kB
          Daniel Becheanu

        Activity

          People

            hibou Nicolas Lalevée
            daniel.becheanu Daniel Becheanu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: