Update spotbugs
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 48e01b9..51b9491 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,7 +21,7 @@
     strategy:
       fail-fast: false
       matrix:
-        jdk: ['8', '11', '17']
+        jdk: ['8', '11', '17', '21']
         os: [ubuntu-latest, windows-latest]
 
     steps:
diff --git a/pom.xml b/pom.xml
index b7db15d..8e6ae46 100755
--- a/pom.xml
+++ b/pom.xml
@@ -134,7 +134,10 @@
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>4.2.3</version>
+        <version>4.7.3.6</version>
+        <configuration>
+          <excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
+        </configuration>        
       </plugin>      
     </plugins>
     <resources>