You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2019/03/31 18:21: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=16806227#comment-16806227 ]
Harald Wellmann commented on MRESOLVER-7:
-----------------------------------------
Rebased Sylwester's changes in a new PR https://github.com/apache/maven-resolver/pull/30 and fixed the failing tests.
Added a new configuration property {{aether.artifact.descriptor.threads}} for the number of threads used for parallel download of POMs.
The default is 5. Setting this to 1 reverts to the previous behaviour.
> 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: Sylwester Lachiewicz
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)