Not that I'm aware of, and this makes sense if you think about how things work...
The MAVEN_OPTS parameter is processed by mvn.bat, and it is used when mvn.bat calls to Java to execute the Maven class files themselves. Then during its execution, Maven parses the pom.xml and settings.xml files, so this would be too late for Maven to read and try to somehow use the MAVEN_OPTS configuration. You can however influence the JVM parameters for Surefire and some other plugins that utilize a forked execution by adding parameters in the pom. Wayne On 1/24/08, /U <[EMAIL PROTECTED]> wrote: > > I would like to set a Java heap space value for the entire project. > > Is there anyway to specify MAVEN_OPTS in the (top level) POM > or in the settings.xml? > > Thanks > > /U > -- > View this message in context: > http://www.nabble.com/MAVEN_OPTS-in-pom.xml-or-settings.xml--tp15081454s177p15081454.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
