Skip to main content

FindBugs - how to tell maven where is the exclude file

In previous post I wrote how to write exclude file using findbugs GUI. Now there is a need to tell maven where is the exclude file.

A way to do so, is to put the exclude file near the pom file. Let's call it findbugs-exclude.xml. Now, add to pom file the below section:

pom.xml section


        <Class name = "com.hp.alm.platform.db.CTdPreparedStatement"/>
        <Bug pattern = "SQL_BAD_PREPARED_STATEMENT_ACCESS"/>
        <Bug category = "CORRECTNESS"/>


Popular posts from this blog

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem.

Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script

Digital signature in pictures

I never remember what happens when digital signature is used. So here is my summary 'Digital signature for dummies'.