diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml
index b9f1f887fff..741c2dde3b0 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -318,6 +318,13 @@
**/pom.xml
+
+ javax/activation/
+ ${shaded.dependency.prefix}.javax.activation.
+
+ **/pom.xml
+
+
javax/ws/
${shaded.dependency.prefix}.javax.ws.
diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml
index f486136971c..ee79ba927a3 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -89,6 +89,11 @@
javax.servlet-api
compile
+
+ javax.activation
+ javax.activation-api
+ runtime
+
org.eclipse.jetty
jetty-server
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index b56d46f4043..40429bd4e89 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1497,6 +1497,11 @@
jcodings
1.0.13
+
+ javax.activation
+ javax.activation-api
+ 1.2.0
+