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

Download dependency POMs in parallel in BF collector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Aether 1.0.2
    • 1.9.0
    • 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. resolver.log
          14 kB
          Ivan Babiankou
        2. resolve_deps.png
          39 kB
          wei cai

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              hwellmann Harald Wellmann
              Votes:
              24 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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