Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
For Maven users the local cache repo can easily contain a .pom for a dependency but no corresponding .jar. Ivy treats this as a resolved dependency that does not exist, and hence fails, whereas it would actually be perfectly sane to skip it (and allow another resolver to have a go). Groovy and Gradle users experience this a lot (e.g. http://issues.gradle.org/browse/GRADLE-2034).
A simple workaround is to use a custom Repository in the localm2 (in Groovy Grab terms) resolver which answers false to exists() for the .pom resource if the corresponding .jar is not present.