diff --git a/misc/pom.xml b/misc/pom.xml
index 1d33443..e9e166d 100644
--- a/misc/pom.xml
+++ b/misc/pom.xml
@@ -101,6 +101,10 @@
io.dropwizard.metrics
metrics-jmx
+
+ com.github.spotbugs
+ spotbugs-annotations
+
@@ -186,6 +190,10 @@
io.perfmark
${ratis.thirdparty.shaded.prefix}.io.perfmark
+
+ edu.umd.cs.findbugs.annotations
+ ${ratis.thirdparty.shaded.prefix}.edu.umd.cs.findbugs.annotations
+
diff --git a/pom.xml b/pom.xml
index 7a32ce3..aaad485 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
4.1.127.Final
4.2.21
+
+ 4.8.6
3.8.1
@@ -172,6 +174,11 @@
metrics-jmx
${shaded.dropwizard.version}
+
+ com.github.spotbugs
+ spotbugs-annotations
+ ${shaded.spotbugs.version}
+