Maven
The maven command is used to execute the Apache Maven
build tool. It provides a convenient way to execute maven. The maven command is based on the executable command, thus all attributes and child elements valid for the executable command are also valid for the maven command.
Finding the maven binary
The maven command will try the following values for the maven binary:
- if a binary is specified explictly using the exe attribute, that value will be used
- if a property named "maven.bin" exists, the value of that property will be used
- otherwise, the value "maven" will be used, or "maven.bat" on Windows systems (and thus maven must be found in the PATH of the pulse? process)
The "maven.bin" property may be manually created via resource.
Attributes
| Attribute |
Description |
Required? |
Default |
| targets |
A space-separated list of targets to execute. |
No |
|
See also executable.
Child Elements
See executable.
Examples
Execute the "build" target from the default build file: