Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2015-02-04 13:26:47 -0500
committerElena Laskavaia2015-02-18 11:50:43 -0500
commit78cd08f40d8e3a26ad2a2ab69952726d5e693a5f (patch)
treeed7e5470aba540a573675d903444f63e672beea8 /pom.xml
parent059db21d52f4f325398a53bee782f0ebb92074fd (diff)
downloadorg.eclipse.cdt-78cd08f40d8e3a26ad2a2ab69952726d5e693a5f.tar.gz
org.eclipse.cdt-78cd08f40d8e3a26ad2a2ab69952726d5e693a5f.tar.xz
org.eclipse.cdt-78cd08f40d8e3a26ad2a2ab69952726d5e693a5f.zip
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 <marc.khouzam@ericsson.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 0cdf4bca40..26c9a5ddf7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -586,9 +586,10 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.5.2</version>
<configuration>
- <findbugsXmlOutput>true</findbugsXmlOutput>
+ <xmlOutput>true</xmlOutput>
+ <excludeFilterFile>releng/findbugs-exclude.xml</excludeFilterFile>
<failOnError>false</failOnError>
</configuration>
<executions>
@@ -602,11 +603,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
+ <version>2.7.1</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
- <targetJdk>1.6</targetJdk>
+ <targetJdk>1.7</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>

Back to the top