Add configuration and execution to FindBugs plugin 14/46914/12
authorTom Pantelis <tpanteli@brocade.com>
Thu, 13 Oct 2016 19:13:17 +0000 (15:13 -0400)
committerStephen Kitt <skitt@redhat.com>
Wed, 26 Oct 2016 07:33:23 +0000 (07:33 +0000)
commita5d3646983bf1daf2504d6b9ecaf6e20e19e6fef
treeef47258d493e382b2fff46f63bffa2fca677b703
parent56371772f41e397a7db0f008a42c43378cbff76a
Add configuration and execution to FindBugs plugin

Added the appropriate configuration and execution to the FindBugs plugin
so it can run during compile phase and report violations. failOnError is
set to false by default so it doesn't fail the build. Projects can override
this setting if they want enforcement.

Also added a findbugs project (similar to checkstyle) that defines the rule
filters to exclude. I added one to exclude b/c it's of low priority
and is a common pattern used in ODL. I also added package exclusions for
yang-generated classes and protobuff-generated classes.

Change-Id: Ie01507a23990280d4bee8c2aefdc6c2293a3c6db
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
findbugs/pom.xml [new file with mode: 0644]
findbugs/src/main/resources/findbugs-exclude.xml [new file with mode: 0644]
odlparent/pom.xml
pom.xml