Wouldn't it be easier to use the integration-test phase instead of the test
phase?  The integration-test phase runs after the package phase, and can be
used to run tests later in the lifecycle.

Just a thought,
Ed

On Fri, Apr 29, 2011 at 7:35 AM, Justin Lee <[email protected]> wrote:

> I have a huge tree of ant based projects i'm trying to convert to maven.  I
> have the mechanics worked about except for a minor hitch:  I need the test
> phase to be the last one executed.  Since all of this code is test code
> there will be no artifacts to install, no deployments run.  But I need to,
> say, generate the war files before surefire kicks off and runs the test.
>  How can I do that?  Could I bind the surefire plugin to the install phase
> instead?
>

Reply via email to