Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-02-22 11:05:12 +0000
committerUwe Stieber2012-02-22 11:05:12 +0000
commit7d7c857ea6c0dae5d8b51acb7364640298ae0630 (patch)
tree24ac20ea14ccecf70294f610cfc2ed39b477d7b1
parent89d6f92023571d1407b6bae25558136e5f018e14 (diff)
downloadorg.eclipse.tcf-7d7c857ea6c0dae5d8b51acb7364640298ae0630.tar.gz
org.eclipse.tcf-7d7c857ea6c0dae5d8b51acb7364640298ae0630.tar.xz
org.eclipse.tcf-7d7c857ea6c0dae5d8b51acb7364640298ae0630.zip
Releng: Add findbugs exclude filters
-rw-r--r--findbugs-exclude.xml7
-rw-r--r--pom.xml2
2 files changed, 9 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
new file mode 100644
index 000000000..eb96e850a
--- /dev/null
+++ b/findbugs-exclude.xml
@@ -0,0 +1,7 @@
+<FindBugsFilter>
+ <!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in "start(BundleContext)" methods -->
+ <Match>
+ <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+ <Method name="start" params="org.osgi.framework.BundleContext" returns="void"/>
+ </Match>
+</FindBugsFilter>
diff --git a/pom.xml b/pom.xml
index 6090d93ea..1e401d2da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -209,6 +209,7 @@
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<failOnError>false</failOnError>
+ <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
@@ -275,6 +276,7 @@
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<failOnError>false</failOnError>
+ <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
</configuration>
<executions>
<execution>

Back to the top