feat: SpringBoot2.5.4升级2.6.3,SpringCloud2020.0.3升级2021.0.0

This commit is contained in:
郝先瑞 2022-01-29 23:28:08 +08:00
parent 730fe7a503
commit b5c6ca7ad2
21 changed files with 73 additions and 46 deletions

View File

@ -2,8 +2,11 @@ server:
port: 8803 port: 8803
spring: spring:
application: main:
name: mall-oms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,11 @@ server:
port: 8603 port: 8603
spring: spring:
application: main:
name: mall-oms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,3 +1,5 @@
spring: spring:
application:
name: mall-oms
profiles: profiles:
active: dev active: dev

View File

@ -2,8 +2,11 @@ server:
port: 8802 port: 8802
spring: spring:
application: main:
name: mall-pms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,11 @@ server:
port: 8802 port: 8802
spring: spring:
application: main:
name: mall-pms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,3 +1,5 @@
spring: spring:
application:
name: mall-pms
profiles: profiles:
active: dev active: dev

View File

@ -2,8 +2,11 @@ server:
port: 8804 port: 8804
spring: spring:
application: main:
name: mall-sms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,11 @@ server:
port: 8804 port: 8804
spring: spring:
application: main:
name: mall-sms allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,4 +1,6 @@
spring: spring:
application:
name: mall-sms
profiles: profiles:
active: dev active: dev

View File

@ -2,8 +2,11 @@ server:
port: 8801 port: 8801
spring: spring:
application: main:
name: mall-ums allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,11 @@ server:
port: 8601 port: 8601
spring: spring:
application: main:
name: mall-ums allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,3 +1,5 @@
spring: spring:
application:
name: mall-ums
profiles: profiles:
active: dev active: dev

20
pom.xml
View File

@ -24,15 +24,15 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.4</version> <version>2.6.3</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<properties> <properties>
<youlai.version>2.0.0</youlai.version> <youlai.version>2.0.0</youlai.version>
<spring-boot.version>2.5.4</spring-boot.version> <spring-boot.version>2.6.3</spring-boot.version>
<spring-cloud.version>2020.0.3</spring-cloud.version> <spring-cloud.version>2021.0.0</spring-cloud.version>
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version> <spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -47,7 +47,6 @@
<weixin-java.version>4.1.5.B</weixin-java.version> <weixin-java.version>4.1.5.B</weixin-java.version>
<hibernate-validator.version>6.0.13.Final</hibernate-validator.version> <hibernate-validator.version>6.0.13.Final</hibernate-validator.version>
<seata.version>1.4.1</seata.version> <seata.version>1.4.1</seata.version>
<commons-pool2.version>2.9.0</commons-pool2.version>
<knife4j.version>2.0.9</knife4j.version> <knife4j.version>2.0.9</knife4j.version>
<redisson.version>3.15.1</redisson.version> <redisson.version>3.15.1</redisson.version>
<logstash-logback-encoder.version>6.6</logstash-logback-encoder.version> <logstash-logback-encoder.version>6.6</logstash-logback-encoder.version>
@ -150,12 +149,6 @@
<version>${seata.version}</version> <version>${seata.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>${commons-pool2.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.github.xiaoymin</groupId> <groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId> <artifactId>knife4j-spring-boot-starter</artifactId>
@ -206,13 +199,6 @@
<version>${redisson.version}</version> <version>${redisson.version}</version>
</dependency> </dependency>
<!-- IP转地区工具 -->
<dependency>
<groupId>org.lionsoul</groupId>
<artifactId>ip2region</artifactId>
<version>${ip2region.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.github.dozermapper</groupId> <groupId>com.github.dozermapper</groupId>
<artifactId>dozer-core</artifactId> <artifactId>dozer-core</artifactId>

View File

@ -74,6 +74,7 @@
<dependency> <dependency>
<groupId>com.nimbusds</groupId> <groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId> <artifactId>nimbus-jose-jwt</artifactId>
<version>9.16.1</version>
</dependency> </dependency>
<!-- 分布式对象存储 --> <!-- 分布式对象存储 -->

View File

@ -2,8 +2,11 @@ server:
port: 8800 port: 8800
spring: spring:
application: main:
name: youlai-admin allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,11 @@ server:
port: 8800 port: 8800
spring: spring:
application: main:
name: youlai-admin allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,3 +1,5 @@
spring: spring:
application:
name: youlai-admin
profiles: profiles:
active: dev active: dev

View File

@ -2,8 +2,9 @@ server:
port: 8000 port: 8000
spring: spring:
application: mvc:
name: youlai-auth pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
# 注册中心 # 注册中心

View File

@ -2,8 +2,9 @@ server:
port: 8000 port: 8000
spring: spring:
application: mvc:
name: youlai-auth pathmatch:
matching-strategy: ant_path_matcher
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -1,3 +1,5 @@
spring: spring:
profiles: profiles:
active: dev active: dev
application:
name: youlai-auth

View File

@ -53,14 +53,10 @@
<artifactId>logstash-logback-encoder</artifactId> <artifactId>logstash-logback-encoder</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.lionsoul</groupId>
<artifactId>ip2region</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.nimbusds</groupId> <groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId> <artifactId>nimbus-jose-jwt</artifactId>
<version>9.16.1</version>
</dependency> </dependency>
</dependencies> </dependencies>