Even better is use files to put these MAVEN_OPTS definitions

in Linux env : /etc/mavenrc or $HOME/.mavenrc file

in Windows %HOMEDRIVE%%HOMEPATH%\mavenrc_pre.bat file which is usually C:\Documents 
and Settings\<username>\mavenrc_pre.bat

With this way each Maven user can configure exact values what they want for their environment.

Rgds,

Markku

Paul Benedict wrote:
You could set it in your mvn.bat, right?

On Wed, Oct 7, 2009 at 10:14 AM, NGUYEN Cong Kinh
<cong_kinh.ngu...@it-sudparis.eu> 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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to