From 78cd08f40d8e3a26ad2a2ab69952726d5e693a5f Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Wed, 4 Feb 2015 13:26:47 -0500 Subject: [PATCH] Allow for filtering of findbugs Choose version 2.5.2 which is what is supported by CDT's HIPP. Note that by removing the version altogether, the latest available findBugs would be selected. However, this could lead to different results between manual builds and HIPP builds, which is why I thought it would be better to specify the version explicitly. FindBugs can be run by adding the string findbugs:findbugs as a maven parameter, either in a local maven build, or on HIPP. Add releng/findbugs-exclude.xml to control the errors shown by FindBugs. The content of that file was copied from the TM project, but should eventually be ajusted for CDT. Change-Id: Ibc8348b9286f00580a4079a7ca3c669708bc6194 Signed-off-by: Marc Khouzam --- pom.xml | 9 ++--- releng/findbugs-exclude.xml | 68 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 4 deletions(-) create mode 100644 releng/findbugs-exclude.xml diff --git a/pom.xml b/pom.xml index 0cdf4bca404..26c9a5ddf71 100644 --- a/pom.xml +++ b/pom.xml @@ -586,9 +586,10 @@ org.codehaus.mojo findbugs-maven-plugin - 2.3.2 + 2.5.2 - true + true + releng/findbugs-exclude.xml false @@ -602,11 +603,11 @@ org.apache.maven.plugins maven-pmd-plugin - 2.5 + 2.7.1 utf-8 100 - 1.6 + 1.7 xml false diff --git a/releng/findbugs-exclude.xml b/releng/findbugs-exclude.xml new file mode 100644 index 00000000000..49b4015d3e6 --- /dev/null +++ b/releng/findbugs-exclude.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +