You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/01/07 08:16:53 UTC

[GitHub] [maven] kodeva commented on issue #310: [MNG-6843] - Parallel build fails due to missing JAR artifacts in compilePath

kodeva commented on issue #310: [MNG-6843] - Parallel build fails due to missing JAR artifacts in compilePath
URL: https://github.com/apache/maven/pull/310#issuecomment-571483072
 
 
   The usage of cloned MavenSession objects with shallow copy of MavenProject objects is not thread-safe when it comes to parallel builds because the MavenProjects are being modified from multiple threads. See the https://issues.apache.org/jira/browse/MNG-6843 issue.
   
   I don't have big insight in maven code and thus yep, this change fixes something while it might be breaking something different not covered by automated tests. And, most probably, there's another better fix for the issue.
   
   I'll try to create a project that simulates the issue deterministically and that can be publicly shared.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services