فهرست منبع

新增h2数据库和spring-test依赖

周浩 9 سال پیش
والد
کامیت
613277a996
2فایلهای تغییر یافته به همراه27 افزوده شده و 0 حذف شده
  1. 17 0
      hsweb-web-service-impl-common/pom.xml
  2. 10 0
      pom.xml

+ 17 - 0
hsweb-web-service-impl-common/pom.xml

@@ -12,6 +12,23 @@
     <artifactId>hsweb-web-service-impl-common</artifactId>
     <dependencies>
 
+        <!--test-->
+        <dependency>
+            <groupId>org.hsweb</groupId>
+            <artifactId>hsweb-web-dao-impl-mybatis</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.oracle</groupId>
+            <artifactId>ojdbc14</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.h2database</groupId>
+            <artifactId>h2</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.webbuilder</groupId>
             <artifactId>wb-sql-util</artifactId>

+ 10 - 0
pom.xml

@@ -89,6 +89,11 @@
             <artifactId>junit</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+            <scope>test</scope>
+        </dependency>
         <!--json-->
         <dependency>
             <groupId>com.alibaba</groupId>
@@ -133,6 +138,11 @@
                 <!--<scope>import</scope>-->
             <!--</dependency>-->
 
+            <dependency>
+                <groupId>com.h2database</groupId>
+                <artifactId>h2</artifactId>
+                <version>1.4.191</version>
+            </dependency>
             <dependency>
                 <groupId>com.oracle</groupId>
                 <artifactId>ojdbc14</artifactId>