diff --git a/pom.xml b/pom.xml
index 71afddd9f..fad4535f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,33 @@
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+ 3.1.12.2
+
+
+
+ com.github.spotbugs
+ spotbugs
+ 4.0.0-RC1
+
+
+
+
+ false
+ true
+
+
+
+ validate
+ validate
+
+ check
+
+
+
+
diff --git a/sdk-autogen/pom.xml b/sdk-autogen/pom.xml
index 532d91d32..6a47e4200 100644
--- a/sdk-autogen/pom.xml
+++ b/sdk-autogen/pom.xml
@@ -90,7 +90,6 @@
-
org.apache.maven.plugins
maven-source-plugin
@@ -104,7 +103,14 @@
-
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+
+
+ true
+
+