You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marco Jorge (JIRA)" <ji...@apache.org> on 2019/01/24 05:53:00 UTC

[jira] [Created] (MRESOLVER-65) When the build is run in parallel there are unsafe concurrent changes in the local repo

Marco Jorge created MRESOLVER-65:
------------------------------------

             Summary: When the build is run in parallel there are unsafe concurrent changes in the local repo
                 Key: MRESOLVER-65
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-65
             Project: Maven Resolver
          Issue Type: Bug
            Reporter: Marco Jorge


Maven will automatically download dependencies to the local repo. With multimodule parallel builds it's possible for different modules to request the download of the same dependency causing a concurrent unsynchronized access to the local .m2 repo.
One thread might be writing the .part file and moving it to it's final position while the other is still trying to access the .part file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)