No. Threadsafe annotation does not affect execution. It only affects nagging :)

But it's actually a quite good idea; we could probably synchronize
execution inside core for non-threadsafe mojos.

(Synchronizing inside the actual mojo is only moderately reliable...)

Kristian

2014-11-10 9:24 GMT+01:00 Karl Heinz Marbaise <khmarba...@gmx.de>:
> Hi,
>
> based on a discussion i would like to know the following:
>
> If a mojo is marked as threadsafe = true mean that two instances of the mojo
> could be created and ran in parallel...if threadsafe = false this will not
> happen so they will always run sequentiel...?
>
> Is my assumption correct ? I assume calling mvn -T 3 etc.
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to