I've got a simple task set up to call out to maven 2:
<tasks>
<exec command="mvn" args="site:site" workingdir="dev/register" />
</tasks>
Maven is running out of heap on this task. The usual mechanism for increasing the maven heap size is through the MAVEN_OPTS environment variable.
Is there any way to set an environment variable per task? If not, what would be the best way to set the variable for all Cruise spawned processes?
Cruise 1.2 on Centos 5.2
Thanks!
Chris
Comment
Hi Chris Moyer:
The current version of cruise doesn't support pass environment variable to tasks, we'll consider this feature later. You can use one of the following work arounds to do this:
Best Regards,
Xu Wei