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:
Specify command to run maven. For example, "C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin\maven.bat"
![]() | Note |
|---|---|
Command or arguement with spaces should be quoted. | |
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.
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.
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 |
|---|---|
Properties with blank value will be ignored. | |
Optionally specify extra Maven options.
Specifies whether or not QuickBuild should wait for this builder to finish.
![]() | 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. | |
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 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 |
|---|---|
For Ant/Maven builder, you can define JAVA_HOME here to build with a different JDK. | |