Skip to content

Commit bc33eed

Browse files
committed
update spotbugs to version that support java21
1 parent 2fe74af commit bc33eed

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<properties>
4242
<check.fail-spotbugs>true</check.fail-spotbugs>
4343
<check.spotbugs-exclude-filter-file>spotbugs-exclude.xml</check.spotbugs-exclude-filter-file>
44+
<!-- killbill-oss-parent still brings SpotBugs 4.7.2.1, whose ASM stack cannot parse
45+
Java 21 class files. Keep this local override until the parent moves to a
46+
Java-21-capable SpotBugs line. -->
47+
<spotbugs-maven-plugin.version>4.9.8.3</spotbugs-maven-plugin.version>
4448
</properties>
4549
<dependencies>
4650
<dependency>
@@ -56,4 +60,13 @@
5660
<artifactId>joda-time</artifactId>
5761
</dependency>
5862
</dependencies>
63+
<build>
64+
<plugins>
65+
<plugin>
66+
<groupId>com.github.spotbugs</groupId>
67+
<artifactId>spotbugs-maven-plugin</artifactId>
68+
<version>${spotbugs-maven-plugin.version}</version>
69+
</plugin>
70+
</plugins>
71+
</build>
5972
</project>

0 commit comments

Comments
 (0)