diff --git a/jhipster-dependencies/pom.xml b/jhipster-dependencies/pom.xml
index d6198979a..fe4160c03 100644
--- a/jhipster-dependencies/pom.xml
+++ b/jhipster-dependencies/pom.xml
@@ -54,6 +54,7 @@
5.3.4
2.5.3
3.23.4
+ 4.7.3
2022.0.4
2.2.0
1.19.0
@@ -519,6 +520,11 @@
+
+ com.github.spotbugs
+ spotbugs-annotations
+ ${spotbugs-annotations.version}
+
diff --git a/jhipster-framework/pom.xml b/jhipster-framework/pom.xml
index bf887df81..e7225165c 100644
--- a/jhipster-framework/pom.xml
+++ b/jhipster-framework/pom.xml
@@ -198,6 +198,11 @@
test
true
+
+ com.github.spotbugs
+ spotbugs-annotations
+ true
+