diff --git a/gson/pom.xml b/gson/pom.xml
index ba735d00e8..8ddddc088c 100644
--- a/gson/pom.xml
+++ b/gson/pom.xml
@@ -257,6 +257,7 @@
+ org.apache.maven.plugins
maven-resources-plugin
3.3.1
diff --git a/pom.xml b/pom.xml
index a4d3df950d..ada307803d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -228,6 +228,7 @@
-XDcompilePolicy=simple
+ --should-stop=ifError=FLOW
-Xplugin:ErrorProne
-XepExcludedPaths:.*/generated-test-sources/protobuf/.*
-Xep:NotJavadoc:OFF
@@ -403,6 +404,7 @@
+ org.apache.maven.plugins
maven-antrun-plugin
3.1.0
diff --git a/test-shrinker/pom.xml b/test-shrinker/pom.xml
index a0b678ace0..5decdd6048 100644
--- a/test-shrinker/pom.xml
+++ b/test-shrinker/pom.xml
@@ -198,7 +198,6 @@
org.apache.maven.plugins
maven-failsafe-plugin
- 3.5.1