Mark maven plugin goals @threadSafe#178
Conversation
|
What does it mean for a plugin to be marked as AFAICT the I don't think we can mark all ModiTect mojos as threadsafe. |
Can this actually happen? IIUC, parallelism in Maven refers to building multiple modules concurrently, but not execute the goals of one module concurrently. I.e. if a plug-in can run safely for different modules at the same time, it should be fine. There's some context here. |
|
Gotcha. If parallelism is executed per module as a whole, instead of per goals within a module then I think we're good to go and mark all mojos as threadsafe. |
|
Yeah, at least I am not aware of any way for running the goals of one module in parallel. |
|
Merged. Thx, @jfallows! |
Fix #95.
I have reviewed the code for each
moditect plugingoal and it seems as though they use project relative resources only, triggering no conflicts when running in a multi-threaded parallel build.