You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2011/04/23 20:50:15 UTC

Passing parameters when executing with @execute

I'm looking at a mojo that has

@execute phase="test" lifecycle="cobertura"

in the mojo descriptor.

Someone wishes that they could give a parameter for the configuration
of this mojo which would turn into a system property setting on the
execution of the extra lifecycle.

I don't see a way to do that here, unless I trade in @execute on some
complex reinvocation of maven in a forked jvm. Am I missing anything?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org