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 2021/05/15 20:35:46 UTC

[GitHub] [maven] gnodet edited a comment on pull request #413: [MNG-6843] Thread-safe artifacts in MavenProject

gnodet edited a comment on pull request #413:
URL: https://github.com/apache/maven/pull/413#issuecomment-841721374


   > Then the usage of ThreadLocal is still wrong because one thread may see multiple Mojos. If the filter should be different for each Mojo, then it is design problem. Why to handle Mojo's variables outside? Maybe some Memento object should be apart of MavenProject.
   
   How could that happen ? A thread can not execute multiple mojo concurrently...  And yes, there's a design problem, but this PR is about fixing a bug imho, not changing the design of the core maven API.


-- 
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