No, You need to create 2 goals: start and stop with option not to call stop where start thread dies when maven terminates.
Is this clear enough? Did you take a look at seleninum plugin I have suggested yesterday? -D On Fri, Mar 19, 2010 at 8:18 PM, Phuong Nguyen <phuongn...@gmail.com> wrote: > Hi: > Is there any way to prevent my maven goal from being terminated by > maven? > For example, I have a goal named RunGoal. > In the RunGoal.execute method, I want to instantiate another > background-thread and have RunGoal.execute returned. > The background-thread should be continued to run while Maven execute > another goal. The background-thread is only terminated later (maybe when > maven exit or another goal is called). > Thanks, > Phuong. > > > > --------------------------------------------------------------------- > 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