Dashboard > Pulse v1.2 > ... > maven2 > suppress-warning
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  suppress-warning
Added by Jason Sankey, last edited by Jason Sankey on Mar 07, 2007
Labels: 
(None)

Pulse Manual Index

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.

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":

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

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