It turns out each plugin has its own instance of singleton.

I am still not sure if the singleton applies in reactor mode per plugin

-D


On Mon, Jun 9, 2014 at 11:22 AM, Dan Tran <[email protected]> wrote:

> Hi,
>
> I am planning to create a singleton ( via plexus component ) which has it
> own internal states.
> to be used by my plugin.
>
> The question is that would the my singleton instance shared across
>
>   - multiple executions within a project
>
>   - multiple projects via reactor?
>
>   - or it is just for single execution of a mojo?
>
> Thanks
>
> -Dan
>
>
>
>

Reply via email to