Skip to content

Commit 22392f3

Browse files
authored
chore: ignore new findbugs 4.7.0 detectors causing ksql build to fail (#9182)
1 parent 42df490 commit 22392f3

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

findbugs/findbugs-exclude.xml

+10
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ For a detailed description of findbugs bug categories, see http://findbugs.sourc
4545
<Match>
4646
<Bug pattern="JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS"/>
4747
</Match>
48+
<!-- false positive in Java 11, see https://github.com/spotbugs/spotbugs/issues/2040 -->
49+
<Match>
50+
<Bug pattern="THROWS_METHOD_THROWS_RUNTIMEEXCEPTION"/>
51+
</Match>
52+
<Match>
53+
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION"/>
54+
</Match>
55+
<Match>
56+
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_THROWABLE"/>
57+
</Match>
4858

4959
<!--
5060
DO NOT USE THIS EXCLUSION FILE FOR NON-GENERATED CODE

pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@
157157
<jersey-common>2.34</jersey-common>
158158

159159
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
160+
161+
<!-- A newer mockito 4.5.1 added on https://github.com/confluentinc/common/pull/460
162+
caused issues with some unit tests. This version 4.3.1 is temporary until we
163+
figured out what's wrong with 4.5.1 or newer -->
164+
<mockito.version>4.3.1</mockito.version>
160165
</properties>
161166

162167
<dependencyManagement>

0 commit comments

Comments
 (0)