You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Sutton (Jira)" <ji...@apache.org> on 2020/07/08 07:21:00 UTC

[jira] [Created] (MNG-6958) mvn only uses a single thread for downloading poms.

Brett Sutton created MNG-6958:
---------------------------------

             Summary: mvn only uses a single thread for downloading poms.
                 Key: MNG-6958
                 URL: https://issues.apache.org/jira/browse/MNG-6958
             Project: Maven
          Issue Type: Improvement
          Components: maven wrapper
    Affects Versions: 3.6.3
         Environment: linux.
            Reporter: Brett Sutton


I have a large project which we use docker for deployments.

 

Doing a docker build using maven takes a very long time as maven must download all of the artefacts each time (yes there are work around for this but during early dev these usually fail).

The main performance issues appears to be that maven only downloads the .pom files using a single thread.

Jars appear to honour the -T option but pom's just ignore it.

 

The result is that a build that should only take a few minutes takes closer to half an hour.

This is really a major performance bottle neck for maven.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)