[SCB-2445] make junit only test dependency (#2777)

diff --git a/core/pom.xml b/core/pom.xml
index 2b33b74..c357408 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -56,21 +56,16 @@
       <groupId>org.apache.servicecomb</groupId>
       <artifactId>servicecomb-governance</artifactId>
     </dependency>
-
     <dependency>
-      <groupId>org.jmockit</groupId>
-      <artifactId>jmockit</artifactId>
+      <groupId>io.vertx</groupId>
+      <artifactId>vertx-codegen</artifactId>
       <scope>provided</scope>
     </dependency>
+    <!-- test -->
     <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>provided</scope>
+      <groupId>org.apache.servicecomb</groupId>
+      <artifactId>foundation-test-scaffolding</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
@@ -82,14 +77,5 @@
       <artifactId>log4j</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.servicecomb</groupId>
-      <artifactId>foundation-test-scaffolding</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>io.vertx</groupId>
-      <artifactId>vertx-codegen</artifactId>
-      <scope>provided</scope>
-    </dependency>
   </dependencies>
 </project>