From eebe63f93a770b0d7007c3fe34404e72dc218513 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Mon, 23 Nov 2015 18:23:02 -0500 Subject: [PATCH] Exclude Sonar rules that are not working with jdt.annotation Since we have moved to jdt.annotation 2.0, a few Sonar rules (FindBugs) do not work properly and report false positives. This resulted in around 460 false issues in Sonar. We can disable those rules for now until the problem is resolved. A bug report was filled at the FindBugs project: http://sourceforge.net/p/findbugs/bugs/1425/ The exclusions are done in the pom.xml so that any Sonar server can benefit from this fix. Change-Id: I31db810bc8a38d96870d94d5192139e6d74527b6 Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/61292 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann Tested-by: Bernd Hufmann --- pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pom.xml b/pom.xml index 34f4e05c53..3b09babe01 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,21 @@ 1.8 **/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/** org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples + + e1,e2,e3,e4,e5,e6 + findbugs:NP_STORE_INTO_NONNULL_FIELD + **/*.java + findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE + **/*.java + findbugs:NP_NONNULL_PARAM_VIOLATION + **/*.java + findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL + **/*.java + findbugs:NP_NONNULL_RETURN_VIOLATION + **/*.java + findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR + **/*.java + UTF-8 http://download.eclipse.org/eclipse/updates/4.5 -- 2.34.1