diff --git a/pom.xml b/pom.xml
index b4fd3b52530..2bbbadfc590 100644
--- a/pom.xml
+++ b/pom.xml
@@ -406,9 +406,25 @@
maven-compiler-plugin
3.6.2
+ javac-with-errorprone
+ true
1.8
+
+
+ org.codehaus.plexus
+ plexus-compiler-javac-errorprone
+ 2.8
+
+
+
+ com.google.errorprone
+ error_prone_core
+ 2.2.0
+
+
org.apache.maven.plugins