On 19 March 2010 07:16, Phuong Nguyen <phuongn...@gmail.com> wrote:

> According to my observation, the selenium-maven-plugin doesnot execute a
> goal in the middle of another goal. Rather, it has separated goals, one
> for starting the server and one for stopping the server.
> I'm still looking for a way to invoke another goal while executing my
> goal. Isn't it simple?
>

No.

You either have your "background" goal run the goal you want for you OR

You have your "background" goal fork a thread and return and then have
another goal which you use to stop your background thread.

See for example using jetty + maven-failsafe-plugin   http://bit.ly/cuQ4eH

Oh and by the way, when doing the background stuff you'll want to use
maven-failsafe-plugin for executing your tests rather than
maven-surefire-plugin or else failing tests will cause great problems

-Stephen


> On Thu, 2010-03-18 at 21:59 -0700, Dan Tran wrote:
> > selenium-maven-plugin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to