Just so you guys know, if you use a Maven plugin to set MAVEN_OPTS, it
would only take effect if Maven spawns a child process. It will never
effect the main Maven execution.

Paul

On Wed, Oct 7, 2009 at 11:24 AM, Ivalo <[email protected]> wrote:
> 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
>> <[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]

Reply via email to