Continuum

should be able to configure MAVEN_OPTS for a Maven 2 installation

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-2
  • Component/s: Core - Profiles
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Activity

Hide
Olivier Lamy added a comment -

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 :

  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.
Show
Olivier Lamy added a comment - 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 :
  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.
Hide
Olivier Lamy added a comment -

fixed with

Show
Olivier Lamy added a comment - fixed with

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: