I need to set Java_opts memory things for only one Java app. My program is a Maven project. Is there any way that I can just set it to my program, not the whole environment?
Asked
Active
Viewed 1,110 times
1
-
Using the maven-exec-plugin? Surefire? Something else? – bmargulies Apr 23 '12 at 19:09
1 Answers
1
If you're executing your program during the maven life build, you can set the MAVEN_OPTS.

ant
- 22,634
- 36
- 132
- 182
-
-
Which might not help if maven-exec-plugin is used (but depends on the configuration). – khmarbaise Apr 24 '12 at 05:17