You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Dave Syer (JIRA)" <ji...@apache.org> on 2013/08/21 11:36:55 UTC
[jira] [Created] (IVY-1432) Artifacts that have a .pom but no .jar
in local Maven cache should be skipped
Dave Syer created IVY-1432:
------------------------------
Summary: Artifacts that have a .pom but no .jar in local Maven cache should be skipped
Key: IVY-1432
URL: https://issues.apache.org/jira/browse/IVY-1432
Project: Ivy
Issue Type: Bug
Reporter: Dave Syer
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira