diff --git a/broker/pom.xml b/broker/pom.xml
index fae61c2013020953663c11636a50f68a85042bd1..91cfe0c46bc68d42aed13297d6e6b1fc4830cccd 100644
--- a/broker/pom.xml
+++ b/broker/pom.xml
@@ -29,16 +29,6 @@
rocketmq-broker ${project.version}
-
- junit
- junit
- test
-
-
-
-
-
-
${project.groupId}
rocketmq-common
diff --git a/client/pom.xml b/client/pom.xml
index 1adfb6eac07049ffaff065edc8710c5048b11513..713523d692835af9ce8514b8479ab174d808e7e7 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -30,11 +30,6 @@
rocketmq-client ${project.version}
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-common
diff --git a/common/pom.xml b/common/pom.xml
index 2e41f2f59854f8b03c4c1dc501e2d796fcffc3c2..549dad9735b144c2d36faf2bd09b0fd595cf1bde 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -30,11 +30,6 @@
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-remoting
diff --git a/example/pom.xml b/example/pom.xml
index 3e822971c84a4ed1cd91d1290c64ab808f64ae52..c6dbf676b02b7cde827c26ae91ed567756324567 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -29,11 +29,6 @@
rocketmq-example ${project.version}
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-client
diff --git a/filtersrv/pom.xml b/filtersrv/pom.xml
index 1a8bf8bdaeff79f9f75a6dc20a7a71b56f99456e..b03135737cef0ee2e7f93455d53a7e527bf8b7b1 100644
--- a/filtersrv/pom.xml
+++ b/filtersrv/pom.xml
@@ -29,11 +29,6 @@
rocketmq-filtersrv ${project.version}
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-client
diff --git a/namesrv/pom.xml b/namesrv/pom.xml
index 87d33defa321cf0d338da68f1884623b87522cfa..c505bfccda026f43bc09023e9728a6db1590b8ee 100644
--- a/namesrv/pom.xml
+++ b/namesrv/pom.xml
@@ -29,11 +29,6 @@
rocketmq-namesrv ${project.version}
-
- junit
- junit
- test
-
org.apache.rocketmq
rocketmq-client
diff --git a/pom.xml b/pom.xml
index 91ad94cf70f4962b1c450a9aaaa68c864d6e0f9c..ca7ea1da3d92dcceabb448c725b714c064b23e95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -411,6 +411,27 @@
+
+
+ junit
+ junit
+ 4.11
+ test
+
+
+ org.assertj
+ assertj-core
+ 2.6.0
+ test
+
+
+ org.mockito
+ mockito-core
+ 2.6.3
+ test
+
+
+
@@ -463,18 +484,6 @@
rocketmq-srvutil
${project.version}
-
- junit
- junit
- 4.11
- test
-
-
- org.assertj
- assertj-core
- 2.6.0
- test
-
org.slf4j
slf4j-api
@@ -510,16 +519,16 @@
javassist
3.20.0-GA
-
- org.apache.commons
- commons-lang3
- 3.4
-
net.java.dev.jna
jna
4.2.2
+
+ org.apache.commons
+ commons-lang3
+ 3.4
+
diff --git a/remoting/pom.xml b/remoting/pom.xml
index 050be172957514800945f69c7bafa7f03ae39ab2..df46c35385368bcc024f89e2123afc9217260741 100644
--- a/remoting/pom.xml
+++ b/remoting/pom.xml
@@ -30,16 +30,6 @@
-
- junit
- junit
- test
-
-
- org.assertj
- assertj-core
- test
-
com.alibaba
fastjson
diff --git a/srvutil/pom.xml b/srvutil/pom.xml
index ef01639e5a9556fd22beb83376f8c1e6ea947772..4850b1e90b40b58cb536a79908375922e565e2f4 100644
--- a/srvutil/pom.xml
+++ b/srvutil/pom.xml
@@ -30,11 +30,6 @@
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-remoting
diff --git a/store/pom.xml b/store/pom.xml
index 8438f8cc696a3d0f5ea4027ca860731d7606b885..083d4148ef03b2726120325c59944c8a26eb078c 100644
--- a/store/pom.xml
+++ b/store/pom.xml
@@ -37,11 +37,6 @@
net.java.dev.jna
jna
-
- junit
- junit
- test
-
ch.qos.logback
logback-classic
diff --git a/tools/pom.xml b/tools/pom.xml
index 506c473e32223fbb21b5782d0fe783c5fdcba3c2..0e99f9c822edbf3e5ce2cde0cc97b138dfd32f92 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -29,11 +29,6 @@
rocketmq-tools ${project.version}
-
- junit
- junit
- test
-
${project.groupId}
rocketmq-client