Dashboard > Pulse v2.0 > ... > maven2 > suppress-error
  Pulse v2.0 Log In | Sign Up   View a printable version of the current page.  
  suppress-error
Added by Jason Sankey, last edited by Jason Sankey on Nov 24, 2008  (view change)
Labels: 
(None)

Pulse Manual Index

Suppress Error

The suppress-error element allows you to suppress Maven 2 errors that you do not want to be reported by pulse™. It is intended to be used when your Maven 2 build raises spurious errors that are not useful information as part of the build result.

Note that this element may be applied either to a maven2 command, or directly to a maven2.pp post-processor.

Attributes

Attribute Description Required? Default
expression A regular expression that matches error messages that should be ignored. No  

Child Elements

None.

Examples

Execute the "build" goal, ignoring errors that contain the strings "useless" or "Useless":

<maven2 name="build" goals="build">
    <suppress-error expression="[uU]seless"/>
</maven2>

As above, but applied to a post-processor rather than a command:

<maven2.pp name="maven2.pp">
    <suppress-error expression="[uU]seless"/>
</maven2.pp>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators