diff --git a/hadoop-ozone/client/pom.xml b/hadoop-ozone/client/pom.xml
index 3d292c2ed0f..9d9adcbadb0 100644
--- a/hadoop-ozone/client/pom.xml
+++ b/hadoop-ozone/client/pom.xml
@@ -33,5 +33,10 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
org.apache.hadoop
hadoop-ozone-common
+
+ junit
+ junit
+ test
+
\ No newline at end of file
diff --git a/hadoop-ozone/common/pom.xml b/hadoop-ozone/common/pom.xml
index 64b855e5980..fc8d84ed092 100644
--- a/hadoop-ozone/common/pom.xml
+++ b/hadoop-ozone/common/pom.xml
@@ -34,6 +34,65 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
org.apache.commons
commons-compress
+
+ org.apache.hadoop
+ hadoop-common
+
+
+ org.apache.hadoop
+ hadoop-hdfs
+
+
+ org.apache.hadoop
+ hadoop-hdfs-client
+
+
+ com.squareup.okhttp
+ okhttp
+
+
+
+
+ org.apache.hadoop
+ hadoop-hdds-common
+
+
+ org.apache.hadoop
+ hadoop-hdds-server-framework
+
+
+ org.apache.hadoop
+ hadoop-hdds-server-scm
+
+
+ org.apache.hadoop
+ hadoop-hdds-container-service
+
+
+ org.apache.hadoop
+ hadoop-hdds-client
+
+
+ org.apache.hadoop
+ hadoop-hdds-tools
+
+
+ junit
+ junit
+ test
+
+
+ org.apache.hadoop
+ hadoop-common
+ test
+ test-jar
+
+
+ org.apache.hadoop
+ hadoop-hdfs
+ test
+ test-jar
+
diff --git a/hadoop-ozone/integration-test/pom.xml b/hadoop-ozone/integration-test/pom.xml
index 04f131b0744..349d69fe27b 100644
--- a/hadoop-ozone/integration-test/pom.xml
+++ b/hadoop-ozone/integration-test/pom.xml
@@ -93,5 +93,29 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
test-jar
test
+
+ org.apache.hadoop
+ hadoop-hdds-server-scm
+ test
+ test-jar
+
+
+ org.apache.hadoop
+ hadoop-hdds-container-service
+ test
+ test-jar
+
+
+ org.apache.hadoop
+ hadoop-common
+ test
+ test-jar
+
+
+ org.apache.hadoop
+ hadoop-hdfs
+ test
+ test-jar
+
diff --git a/hadoop-ozone/objectstore-service/pom.xml b/hadoop-ozone/objectstore-service/pom.xml
index edb1903d13d..7a597fd43ac 100644
--- a/hadoop-ozone/objectstore-service/pom.xml
+++ b/hadoop-ozone/objectstore-service/pom.xml
@@ -65,6 +65,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ junit
+ junit
+ test
+
+
io.swagger
swagger-annotations
diff --git a/hadoop-ozone/ozone-manager/pom.xml b/hadoop-ozone/ozone-manager/pom.xml
index 143a6622a2e..dfeb398ce8c 100644
--- a/hadoop-ozone/ozone-manager/pom.xml
+++ b/hadoop-ozone/ozone-manager/pom.xml
@@ -56,12 +56,31 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
2.2.0
test
-
- com.google.code.findbugs
- findbugs
- 3.0.1
- compile
-
+
+ com.google.code.findbugs
+ findbugs
+ 3.0.1
+ provided
+
+
+ org.apache.hadoop
+ hadoop-common
+ test
+ test-jar
+
+
+
+ org.apache.hadoop
+ hadoop-hdds-server-scm
+ test
+ test-jar
+
+
+
+ junit
+ junit
+ test
+
diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml
index ac20f1e8d5c..bd9dd904fca 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -198,68 +198,6 @@
-
- org.apache.hadoop
- hadoop-common
-
-
- org.apache.hadoop
- hadoop-hdfs
-
-
- org.apache.hadoop
- hadoop-hdds-common
-
-
- org.apache.hadoop
- hadoop-hdds-server-framework
-
-
- org.apache.hadoop
- hadoop-hdds-server-scm
-
-
- org.apache.hadoop
- hadoop-hdds-container-service
-
-
- org.apache.hadoop
- hadoop-hdds-client
-
-
- org.apache.hadoop
- hadoop-hdds-tools
-
-
-
- org.apache.hadoop
- hadoop-common
- test
- test-jar
-
-
- org.apache.hadoop
- hadoop-hdfs
- test
- test-jar
-
-
- org.apache.hadoop
- hadoop-hdds-server-scm
- test
- test-jar
-
-
- org.apache.hadoop
- hadoop-hdds-container-service
- test
- test-jar
-
-
- junit
- junit
- test
-
diff --git a/hadoop-ozone/s3gateway/pom.xml b/hadoop-ozone/s3gateway/pom.xml
index bffe6dd8079..a0c8fe09131 100644
--- a/hadoop-ozone/s3gateway/pom.xml
+++ b/hadoop-ozone/s3gateway/pom.xml
@@ -179,6 +179,11 @@
org.apache.hadoop
hadoop-ozone-client
+
+ junit
+ junit
+ test
+
org.mockito
mockito-core
diff --git a/hadoop-ozone/tools/pom.xml b/hadoop-ozone/tools/pom.xml
index 3cef596c4e3..fbc8a7d3133 100644
--- a/hadoop-ozone/tools/pom.xml
+++ b/hadoop-ozone/tools/pom.xml
@@ -80,7 +80,17 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
3.0.1
provided
-
+
+ junit
+ junit
+ test
+
+
+ org.apache.hadoop
+ hadoop-common
+ test
+ test-jar
+
org.apache.hadoop
hadoop-ozone-integration-test