Hi all,

While I was thinking about marking templating-m-p, I realize I may have
added some non-threadsafe code inside the ReserveListenerPortMojo. Reading
about that subject, I realized that build-helper-m-p might actually use
some non threadsafe dependencies.

I'll try some questions:
1/ I had a look at the getPluginContext() documentation. I didn't see any
mention about thread safety. Does anyone know if this is a threadsafe Map?
(getPluginContext().get() or getPluginContext().put() [btw, I think my
code'd need a synchronized lock anyway since I first get then maybe put,
which has nothing do with a potentially synchronized underlying Map])

2/ Reading https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html I
see that for example plexus-utils is known to be *not threadsafe* until
2.0.5.
But build-helper-m-p uses 1.5.8. Is is intended?
Shouldn't we upgrade to 2.0.5+ ?

WDYT?

Thanks
-- 
Baptiste

Reply via email to