Configure Maven/Maven2 builder

Maven is a software build tool, as well as a software project management and comprehension tool, constructed upon a project object model (POM). Maven2 is the second version of Maven. Here is the list of properties you should configure for Maven or Maven2 builder:

Path to Maven executable

Specify command to run maven. For example, "C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin\maven.bat"

[Note]Note

Command or arguement with spaces should be quoted.

Directory to run Maven in

Specify the directory to run Maven in. If this path is not an absolute path, it is assumed to be relative to the current configuration's checkouts directory. Defaults to current configuration's checkouts directory if this property is left empty.

Goals to build

Specify the goals to build. Use space to separate different goals (goal name containing spaces should be quoted in order not to be interpreted as multiple goals). You can also use ${...} to pass OGNL variables as the goal name.

Build properties

Define build properties here to pass into Maven. For example:

buildVersion=${build.version}
configurationName=${name}

You should set one variable per line. OGNL expression can be inserted to form the value provided they are enclosed by ${...}.

[Note]Note

Properties with blank value will be ignored.

Extra Maven options

Optionally specify extra Maven options.

Wait until this builder finishes?

Specifies whether or not QuickBuild should wait for this builder to finish.

[Warning]Warning

If this property is set to no, execution of this builder will always be considered successful in regardless of value of property build success condition.

Build success condition

The build success condition is an OGNL expression used to determine if the build of the current project was successful. Refer to the user's guide for details.

Environment variables

Environment variables to set before running this builder. For example:

buildVersion=${build.version}
configurationName=${name}

You should set one variable per line. OGNL expression can be inserted to form the value provided they are enclosed by ${...}.

[Tip]Tip

For Ant/Maven builder, you can define JAVA_HOME here to build with a different JDK.