Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1564

Ivy retrieves jar's for parent POMs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.0
    • None
    • Maven Compatibility
    • None

    Description

      The fix for IVY-920 introduced a behavior where Ivy will try to retrieve the jar corresponding to all POM packaged artifacts. The vast majority of pom packaged artifacts are parent POMs which have have no jars. This means Ivy is wasting time trying to retrieve jars which don't exist.

      Neither Maven nor Gradle have this problem. They are able to distinguish between a pom referenced as a parent (for which no jar should be retrieved) and a pom packaged artifact referenced as a dependency (for which a jar should be retrieved).

      In our environment, failed lookup are particularly expensive due to timeouts, leading to initial builds which take hours.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.cranford Daniel Cranford
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: