From the documentation:
exec:exec
execute programs and Java programs in a separate process.exec:java
execute Java programs in the same VM.
I want to fork a java program. I've already got it working in exec:java
but that doesn't fork. So the obvious move is to change the goal to exec
. Problem is, the syntax for exec
is pretty different from the syntax of java
. It doesn't have tags like includeProjectDependencies
, includePluginDependencies
, etc. Is there a plugin I can use that is like #1 in the sense that it forks, but has a convenient syntax like #2? IMO, #2 should just have a <fork>true</fork>
configuration.