No. Nor could their be, at least for the case you're describing. Maven's JVM has already started by the time it parses the POM. For plugins which fork a new VM, you may be able to provide these options. For example: http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html.
Justin -----Original Message----- From: NGUYEN Cong Kinh [mailto:[email protected]] Sent: Wednesday, October 07, 2009 12:07 PM To: Maven Users List Subject: Re: [Maven's memory] How to avoid adding the MAVEN_OPTS variable? Hello Paul, In fact, I don't want to set this. My question is that how to directly do this in my POM? Kinh Paul Benedict a écrit : > You could set it in your mvn.bat, right? > > On Wed, Oct 7, 2009 at 10:14 AM, NGUYEN Cong Kinh > <[email protected]> wrote: > >> Hello everybody, >> >> Is there anyway to configure MAVEN_OPTS from the POM file (no >> variable)? For example, I want to configure Maven's memory is 768m. >> But I don't want to add the MAVEN_OPTS variable in the environment. >> This is possible to configure my POM? If yes, please send to me how to do >> this. >> >> Thanks in advance, >> Kinh >> >> --------------------------------------------------------------------- >> 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] > > --------------------------------------------------------------------- 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]
