diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index e95e7471c5533..2f487a439e4df 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1749,6 +1749,24 @@
org.apache.hbase
hbase-server
${hbase.version}
+
+
+ org.osgi
+ org.osgi.core
+
+
+ javax.ws.rs
+ javax.ws.rs-api
+
+
+ org.javassist
+ javassist
+
+
+ javax.servlet
+ servlet-api
+
+
org.apache.hbase
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client/pom.xml
index 6c0a635bc8370..0d61513889a5f 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client/pom.xml
@@ -126,6 +126,11 @@
test-jar
test
+
+ junit
+ junit
+ test
+
org.junit.jupiter
junit-jupiter-api