diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 8385e50517..9d1886b3a3 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -2267,11 +2267,11 @@
true
${javac.version}
-
- -Xlint
- -Xlint:unchecked
- -Xmaxwarns=9999
-
+
+
+
+ 9999
+