Ver Fonte

:zap: 优化:移除common-security包中的jdbc依赖

lishangbu há 6 anos atrás
pai
commit
65045e5b4e
2 ficheiros alterados com 5 adições e 4 exclusões
  1. 5 0
      pigx-auth/pom.xml
  2. 0 4
      pigx-common/pigx-common-security/pom.xml

+ 5 - 0
pigx-auth/pom.xml

@@ -50,6 +50,11 @@
 			<artifactId>pigx-common-security</artifactId>
 			<version>${pigx.version}</version>
 		</dependency>
+		<!--JDBC相关-->
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-jdbc</artifactId>
+		</dependency>
 		<!--spring security 、oauth、jwt依赖-->
 		<dependency>
 			<groupId>org.springframework.cloud</groupId>

+ 0 - 4
pigx-common/pigx-common-security/pom.xml

@@ -45,10 +45,6 @@
 			<groupId>org.springframework.cloud</groupId>
 			<artifactId>spring-cloud-starter-security</artifactId>
 		</dependency>
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-jdbc</artifactId>
-		</dependency>
 		<!--UPMS API-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>