diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index efc8c2d63a3..3c49182b2f0 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1569,6 +1569,8 @@
sun.misc.*
sun.net.*
sun.nio.ch.*
+ com.sun.javadoc.*
+ com.sun.tools.*