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

Ivy retrieves jar's for parent POMs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: Maven Compatibility
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              daniel.cranford Daniel Cranford
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: