Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
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"/>