Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5896

Download dependency POMs in parallel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.3.3
    • None
    • Dependencies
    • None

    Description

      Background

      When building a project with dependencies not yet available in the local repository, I noticed that Maven 3.3.3 first downloads the dependency POMs sequentially and then proceeds downloading the dependency JARs with up to 5 threads in parallel.

      Due to this, when first building a project with a large number of dependencies, downloading a large number of small POMs may take a lot longer than downloading the much larger JARs, or even longer than building the project itself, especially when a repository manager is used which increases the download latency.

      Enhancement

      Download POMs of (transitive) dependencies in parallel to significantly speed up initial builds of large projects.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hwellmann Harald Wellmann
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: