You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mike Lenner <mi...@gmail.com> on 2010/11/11 18:17:35 UTC

Fork Java From Maven Plugin

I have a use case where I'd like to fork a new jvm to run a java
process in during my build.  My thinking right now is the best thing
to do is to invoke the existing exec plugin (exec goal) from my own
plugin (using the parameters I've configured for my users).  I have
additional logic I need to accomplish so using the exec plugin by
itself it not an option.  Anyone see any issue with that / can think
of a better way?

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


Re: Fork Java From Maven Plugin

Posted by Dan Tran <da...@gmail.com>.
try commons-exec or plexus-utils's exec api directly

-Dan

On Thu, Nov 11, 2010 at 9:17 AM, Mike Lenner <mi...@gmail.com> wrote:
> I have a use case where I'd like to fork a new jvm to run a java
> process in during my build.  My thinking right now is the best thing
> to do is to invoke the existing exec plugin (exec goal) from my own
> plugin (using the parameters I've configured for my users).  I have
> additional logic I need to accomplish so using the exec plugin by
> itself it not an option.  Anyone see any issue with that / can think
> of a better way?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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