Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-65

When the build is run in parallel there are unsafe concurrent changes in the local repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcobjorge Marco Jorge
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: