Re: New instances of MOJO object across executions

2015-02-17 Thread Jason van Zyl
But you can inject singleton components (default in Plexus) which contain state. I believe Dan Tran had written up a fully working example. On Feb 17, 2015, at 6:03 AM, Kristian Rosenvold wrote: > Each execution has a new instance > 17. feb. 2015 11:27 skrev "Tibor Digana" : > >> Is the MOJO

Re: New instances of MOJO object across executions

2015-02-17 Thread Kristian Rosenvold
Each execution has a new instance 17. feb. 2015 11:27 skrev "Tibor Digana" : > Is the MOJO object reused in plugin executions? > I want to make sure that if I store some data in the instance fields in my > MOJO object, next execution in a new MOJO object is created and properly > isolated from th

New instances of MOJO object across executions

2015-02-17 Thread Tibor Digana
Is the MOJO object reused in plugin executions? I want to make sure that if I store some data in the instance fields in my MOJO object, next execution in a new MOJO object is created and properly isolated from the context of previous execution. Is it working like this in mvn core, or do we plan an