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
spring:
application:
name: mall-oms
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
cloud:
nacos:
# 注册中心

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

20
pom.xml
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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