Yes the latest surefire snapshot support that.

Basically, your plugin can be used to setup a bunch of properties,
which are then passed back to surefire in another phase.

See build-helper-maven-plugin to see some of this work.

-D

On Fri, Nov 21, 2008 at 7:42 PM, Ben Tatham <[EMAIL PROTECTED]> wrote:
> Is it possible to modify the run of the surefire plugin from another
> plugin?  I would like to be able to set some systemProperties and
> argLine from another plugin, but I don't want to have to run the tests
> a second time.  (I want to set the -javaagent, etc).  Ideally, I would
> like to be able to do this from a plugin so the dependcies (the
> javaagent jar) can be available, and my plugin takes care of all the
> setup, and post-processing for a report.
>
> -Ben
>
> PS In case you are interested, it is to wrap JCarder
> (http://jcarder.org) into a maven plugin, and eventually into Hudson
> and Sonar plugins.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to