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

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

cstamas commented on PR #178:
URL: https://github.com/apache/maven-resolver/pull/178#issuecomment-1147694146

   Something is wrong here, unsure what. But, I tried to build maven master 
using maven-3.9.x + this PR + empty local repo and it fails:
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile 
(default-testCompile) on project maven-model-builder: Compilation failure: 
Compilation failure: 
   [ERROR] 
/home/cstamas/Worx/apache-maven/maven/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java:[36,27]
 package org.hamcrest does not exist
   [ERROR] 
/home/cstamas/Worx/apache-maven/maven/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java:[36,1]
 static import only from classes and interfaces
   [ERROR] 
/home/cstamas/Worx/apache-maven/maven/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java:[37,27]
 package org.hamcrest does not exist
   [ERROR] 
/home/cstamas/Worx/apache-maven/maven/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java:[37,1]
 static import only from classes and interfaces
   [ERROR] -> [Help 1]
   ```
   The cmd used to test:
   ```
   [cstamas@infinity maven (maven-3.9.x)]$ 
~/bin/maven/apache-maven-3.9.0-SNAPSHOT/bin/mvn clean install 
-Dmaven.repo.local=local-repo -Drat.skip -DskipTests -Daether.collector.impl=bf
   ```




> Download dependency POMs in parallel
> ------------------------------------
>
>                 Key: MRESOLVER-7
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-7
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: Resolver
>    Affects Versions: Aether 1.0.2
>            Reporter: Harald Wellmann
>            Priority: Major
>         Attachments: resolver.log
>
>          Time Spent: 40m
>  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
(v8.20.7#820007)

Reply via email to