Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-7

Download dependency POMs in parallel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • Aether 1.0.2
    • None
    • Resolver
    • None

    Description

      Background

      When building a project with dependencies not yet available in the local repository, I noticed that Maven 3.3.9/Aether 1.0.2 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

        1. resolve_deps.png
          39 kB
          wei cai
        2. resolver.log
          14 kB
          Ivan Babiankou

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hwellmann Harald Wellmann
              Votes:
              24 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m