diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index ed6d037bd8a..af1aeedd23d 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1482,6 +1482,7 @@
maven-javadoc-plugin
${maven-javadoc-plugin.version}
+ all
-Xmaxwarns 10000