You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/08/08 02:37:13 UTC

[jira] Commented: (CONTINUUM-1364) should be able to configure MAVEN_OPTS for a Maven 2 installation

    [ http://jira.codehaus.org/browse/CONTINUUM-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104262 ] 

Olivier Lamy commented on CONTINUUM-1364:
-----------------------------------------

You have to create an  Installation with  Environment Variable Name set to MAVEN_OPTS and the value in the field "Value".
I have tested with the path CONTINUUM-1365.
Adding an env var as this with the value "-Xmx2deded" the build failed with an exit code 1 (on windows).
And the mail notification says : 
{noformat}
  Java Home version : 
          java version "1.5.0_08"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
          Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode)
        
  Builder version :
          Invalid maximum heap size: -Xmx2deded
          Could not create the Java virtual machine.
{noformat}


> should be able to configure MAVEN_OPTS for a Maven 2 installation
> -----------------------------------------------------------------
>
>                 Key: CONTINUUM-1364
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1364
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core - Profiles
>    Affects Versions: 1.1-beta-1
>            Reporter: Brett Porter
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira