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:26:00 UTC

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

Marco Jorge created MNG-6574:
--------------------------------

             Summary: When the build is run in parallel there are unsafe concurrent changes in the local repo
                 Key: MNG-6574
                 URL: https://issues.apache.org/jira/browse/MNG-6574
             Project: Maven
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.0
            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)