You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2019/07/21 16:42:00 UTC

[jira] [Commented] (MNG-5896) Download dependency POMs in parallel

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

Hervé Boutemy commented on MNG-5896:
------------------------------------

reverted in https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=383c8c11ef793025db6107fbfeb7ccd5fdd9ba87 because MRESOLVER-7 was causing infinite loops

> Download dependency POMs in parallel
> ------------------------------------
>
>                 Key: MNG-5896
>                 URL: https://issues.apache.org/jira/browse/MNG-5896
>             Project: Maven
>          Issue Type: Improvement
>          Components: Dependencies
>    Affects Versions: 3.3.3
>            Reporter: Harald Wellmann
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.7.0-candidate
>
>
> h3. 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.
> 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.14#76016)