Skip to content

Commit 0b27a59

Browse files
committed
update spotbugs to version that support java21
1 parent 4e8dc95 commit 0b27a59

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
<check.fail-spotbugs>true</check.fail-spotbugs>
4545
<check.spotbugs-exclude-filter-file>spotbugs-exclude.xml</check.spotbugs-exclude-filter-file>
4646
<killbill-platform.version>0.40.13</killbill-platform.version>
47+
<!-- killbill-oss-parent still brings SpotBugs 4.7.2.1, whose ASM stack cannot parse
48+
Java 21 class files. Keep this local override until the parent moves to a
49+
Java-21-capable SpotBugs line. -->
50+
<spotbugs-maven-plugin.version>4.9.8.3</spotbugs-maven-plugin.version>
4751
</properties>
4852
<dependencies>
4953
<dependency>
@@ -283,6 +287,11 @@
283287
</dependencies>
284288
<build>
285289
<plugins>
290+
<plugin>
291+
<groupId>com.github.spotbugs</groupId>
292+
<artifactId>spotbugs-maven-plugin</artifactId>
293+
<version>${spotbugs-maven-plugin.version}</version>
294+
</plugin>
286295
<plugin>
287296
<groupId>org.apache.maven.plugins</groupId>
288297
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)