Maven Post-Processor
The maven post-processor is used to extract useful information from the output of a Maven
build. Currently this post-processor searches for:
- errors and warnings reported by maven itself, (e.g. BUILD FAILED)
- errors and failures reported in JUnit test summaries, by using a JUnit summary post-processor
A maven post-processor is applied by default when using a maven command.
The maven post-processor is a subclass of the post-processor group. All attributes and child elements valid for post-processor groups are thus also valid for maven post-processors.
Attributes
| Attribute |
Description |
Required? |
Default |
| name |
The name of this post-processor. |
Yes |
|
See also post-processor.
Child Elements
See post-processor.
Examples
Apply a maven post-processor to an executable command (e.g. a script that calls maven):
<maven.pp name="maven.pp"/>
<recipe name="default">
<executable name="build" exe="build-it.sh">
<process processor="${maven.pp}"/>
</executable>
</recipe>