Suppress Warning
The suppress-warning element allows you to suppress Maven 2 warnings that you do not want to be reported by pulse™. It is intended to be used when your Maven 2 build raises spurious warnings that are not useful information as part of the build result.
Note that this may be applied to a maven2 command, or directly to a maven2.pp post-processor.
Attributes
| Attribute |
Description |
Required? |
Default |
| expression |
A regular expression that matches warning messages that should be ignored. |
No |
|
Child Elements
None.
Examples
Execute the "build" goal, ignoring warnings that contain the strings "useless" or "Useless":
As above, but applied directly to a post-processor: