You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jared Blitzstein <ma...@blitzstein.net> on 2007/05/04 16:24:26 UTC

Passing in maven_opts at run time?

Is there a way to pass in maven_opts at run time? I have the  
environment variable set and it works when I run maven from my  
console, but I'm using a build manager and it seems to be calling  
maven and it's ignoring the environment variable some how. I was  
wondering if there was a way I could call maven and specify "-Xmx384m  
-Xms256m -XX:MaxPermSize=256m -verbose:gc" via the command line to  
ensure it's using those.

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


RE: Passing in maven_opts at run time?

Posted by "Murugan, Vellaichamy" <ve...@firstam.com>.
We can add it in the mvn.bat file.

-----Original Message-----
From: Jared Blitzstein [mailto:mailing-list@blitzstein.net] 
Sent: Friday, May 04, 2007 7:54 PM
To: Maven Users List
Subject: Passing in maven_opts at run time?

Is there a way to pass in maven_opts at run time? I have the  
environment variable set and it works when I run maven from my  
console, but I'm using a build manager and it seems to be calling  
maven and it's ignoring the environment variable some how. I was  
wondering if there was a way I could call maven and specify "-Xmx384m  
-Xms256m -XX:MaxPermSize=256m -verbose:gc" via the command line to  
ensure it's using those.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
**********************************************************************
This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

                                   FADLD Tag
**********************************************************************


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