Build Profile

Goal

The main goal is to compile/test sources against the targeted jvm, mvn/maven version, ant version and to add defined envvar (MAVEN_OPTS, ANT_OPTS ...). This is now possible at the build definition level (in 1.1).

Setup Profile/Installations

Creating a profile

From the menu, choose the 'Profiles' entry

Profile

Enter a profile name (the name is free)

Add Profile

Attach jdk to a Profile

The list box contains all availables installations (jdk, mvn etc..). The installation's type is automatically recognized. In the modification mode of a profile, adding an already attached type will override the existing one.

Add Profile

Link profile to build definition

The list box contains all availables installations (jdk, mvn etc..). The installation's type is automatically recognized. In the modification mode of a profile, adding an already attached type will override the existing one.

Setup Build Profile

Installations used in Notification mail

The notification mail contains the following informations :

  • Java Home version : coming from $JAVA_HOME/bin/java -version.
  • Builder version : coming from builder used version arg (mvn used -v, ant use -version).
  Java Home version : 
          java version "1.4.2_06"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
          Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
        
  Builder version :
          Maven version: 2.0.5