diff --git a/pom.xml b/pom.xml
index 5e39787ef27d..7db03f566d99 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1813,15 +1813,13 @@
-XDcompilePolicy=simple
-Xplugin:ErrorProne \
- \
- \
- -Xep:GuardedBy:OFF \
-Xep:BadInstanceof:ERROR \
-Xep:BoxedPrimitiveConstructor:ERROR \
-Xep:ClassCanBeStatic:ERROR \
-Xep:CompareToZero:ERROR \
-Xep:EqualsIncompatibleType:ERROR \
-Xep:FallThrough:ERROR \
+ -Xep:GuardedBy:OFF \
-Xep:ImmutableSetForContains:ERROR \
-Xep:InconsistentHashCode:ERROR \
-Xep:InjectOnConstructorOfAbstractClass:ERROR \