You can't and you shouldn't. The POM describes a Project, not the Java environment for Maven.
On Wed, Oct 7, 2009 at 11:07 AM, NGUYEN Cong Kinh <[email protected]> wrote: > 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]
