[Commented] (MDEPLOY-206) Support parallel deployment at end

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[Commented] (MDEPLOY-206) Support parallel deployment at end

JIRA jira@apache.org

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

Matt Nelson commented on MDEPLOY-206:

How is the scope of this issue changed with the maven-3.5.0 conversion to maven-resolver?

I am using parallel builds with the {{deployAtEnd}} flag on a reactor with 40+ modules. Holding onto all the artifacts until the end there is a huge backlog of IO operations that are taking 33% of the build time. Some of that time could be attributed to the resources on the repository, but there is a huge potential for decreased build times by performing the uploads with any amount of parallelism. For each module there are 6 uploads and 1 download. The {{<version>/maven-metadata.xml}} appears to be uploaded twice

15:25:19 [INFO] Uploaded: http://repo/com/company/project/my-artifact/0.15-SNAPSHOT/my-artifact-0.15-20170516.202515-32.jar (30689 KB at 7579.2 KB/sec)
15:25:21 [INFO] Uploaded: http://repo/com/company/project/my-artifact/0.15-SNAPSHOT/my-artifact-0.15-20170516.202515-32.pom (10 KB at 5.7 KB/sec)
15:25:21 [INFO] Downloaded: http://repo/com/company/project/my-artifact/maven-metadata.xml (420 B at 3.5 KB/sec)
15:25:22 [INFO] Uploaded: http://repo/com/company/project/my-artifact/0.15-SNAPSHOT/maven-metadata.xml (988 B at 1.4 KB/sec)
15:25:24 [INFO] Uploaded: http://repo/com/company/project/my-artifact/maven-metadata.xml (420 B at 0.2 KB/sec)
15:25:24 [INFO] Uploaded: http://repo/com/company/project/my-artifact/0.15-SNAPSHOT/my-artifact-0.15-20170516.202515-32-sources.jar (85 KB at 187.9 KB/sec)
15:25:25 [INFO] Uploaded: http://repo/com/company/project/my-artifact/0.15-SNAPSHOT/maven-metadata.xml (988 B at 1.7 KB/sec)

> Support parallel deployment at end
> ----------------------------------
>                 Key: MDEPLOY-206
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-206
>             Project: Maven Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy
>            Reporter: Matt Nelson
> When deploying at end with a large reactor the deployment process can take some time. If the DeployMojo was updated to support a configuration value for the amount of parallelism the deployment could be speed up substantially.

This message was sent by Atlassian JIRA