Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0, 2.1.0, 2.3.0
-
None
-
None
-
None
Description
During partial ivy integration into legacy project I found that global exclude isn't respected for transitive dependencies with local filesystem resolver when ivy cache was just cleared. But it starts working again on the second run with present cache.
The need for local filesystem resolver is mandated by the fact that ivy is currently used only to fetch transitive dependencies for selected modules while project modules themselves remain to be built from plain ant and are not published to repository.
Attaching minimal sample project to reproduce the problem in ivy-transitive-exclude-bug.zip.
It also demonstrates workaround with second retrieve in separate antcall.
Just compare the result of retrieve-buggy and retrieve-workaround ant targets.