maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRESOLVER-7) Download dependency POMs in parallel
Date Wed, 04 Jul 2018 13:32:00 GMT

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

ASF GitHub Bot commented on MRESOLVER-7:
----------------------------------------

mikehearn commented on issue #10: [MRESOLVER-7] Download dependency POMs in parallel v2
URL: https://github.com/apache/maven-resolver/pull/10#issuecomment-402480226
 
 
   For what it's worth I've been testing it locally a fair bit and it's been working fine.
However I had to fork Maven Resolver and add a few commits on top to get it working as well
as I wanted it to:
   
   https://github.com/mikehearn/maven-resolver/commits/master
   
   Specifically, I had to roll back a change that conflicted with this PR, and then I added
this commit:
   
   https://github.com/mikehearn/maven-resolver/commit/1e2ed26e5c6b7f439882339deae8ff4effec50ac
   
   to avoid creating non-daemon threads.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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: Maven Artifact Resolver 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)

Mime
View raw message