Browse Source

优化依赖

zhouhao 2 years ago
parent
commit
03b72a585b
3 changed files with 20 additions and 2 deletions
  1. 1 1
      hsweb-commons/hsweb-commons-api/pom.xml
  2. 12 1
      hsweb-starter/pom.xml
  3. 7 0
      pom.xml

+ 1 - 1
hsweb-commons/hsweb-commons-api/pom.xml

@@ -41,9 +41,9 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
-            <version>3.0.2</version>
             <scope>compile</scope>
         </dependency>
+
         <dependency>
             <groupId>commons-codec</groupId>
             <artifactId>commons-codec</artifactId>

+ 12 - 1
hsweb-starter/pom.xml

@@ -21,6 +21,12 @@
             <groupId>org.hswebframework</groupId>
             <artifactId>hsweb-expands-script</artifactId>
             <version>${hsweb.expands.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>junit</groupId>
+                    <artifactId>junit</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
@@ -45,35 +51,40 @@
             <artifactId>spring-test</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-test-autoconfigure</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-test</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-r2dbc</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>io.r2dbc</groupId>
             <artifactId>r2dbc-h2</artifactId>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
-            <version>3.0.2</version>
             <scope>compile</scope>
         </dependency>
     </dependencies>

+ 7 - 0
pom.xml

@@ -325,6 +325,13 @@
 <!--                <artifactId>spring-boot-starter-data-r2dbc</artifactId>-->
 <!--                <version>2.3.3.RELEASE</version>-->
 <!--            </dependency>-->
+
+            <dependency>
+                <groupId>com.google.code.findbugs</groupId>
+                <artifactId>jsr305</artifactId>
+                <version>3.0.2</version>
+            </dependency>
+
             <dependency>
                 <groupId>io.r2dbc</groupId>
                 <artifactId>r2dbc-bom</artifactId>