You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (JIRA)" <ji...@apache.org> on 2018/09/16 17:59:00 UTC

[jira] [Commented] (MRESOLVER-7) Download dependency POMs in parallel

    [ https://issues.apache.org/jira/browse/MRESOLVER-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616825#comment-16616825 ] 

Sylwester Lachiewicz commented on MRESOLVER-7:
----------------------------------------------

[~michael-o] any plan to review? Maybe include this one with new Maven 3.6?

> Download dependency POMs in parallel
> ------------------------------------
>
>                 Key: MRESOLVER-7
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-7
>             Project: Maven Resolver
>          Issue Type: Improvement
>    Affects Versions: Aether 1.0.2
>            Reporter: Harald Wellmann
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 1.1.2
>
>
> h3. 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.
> h3. Enhancement
> Download POMs of (transitive) dependencies in parallel to significantly speed up initial builds of large projects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)