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:
[email protected]


With regards,
Apache Git Services

Reply via email to