chore: Spring Boot 2.7.8 => 3.0.3

1.Spring Boot 2.7.8 => 3.0.3
2.Knife4j 适配 Spring Boot 3.x
3.ServletUtil => JakartaServletUtil
4.javax.* => jakarta.*
This commit is contained in:
dlj
2023-03-16 13:01:13 +08:00
committed by Charles7c
parent 9bbff7f22c
commit dea160a7b2
44 changed files with 146 additions and 105 deletions

45
pom.xml
View File

@@ -14,8 +14,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -38,7 +38,7 @@ limitations under the License.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.8</version>
<version>3.0.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
@@ -54,17 +54,21 @@ limitations under the License.
<easyexcel.version>3.2.0</easyexcel.version>
<ip2region.version>2.7.6</ip2region.version>
<knife4j.version>4.0.0</knife4j.version>
<redisson.version>3.19.0</redisson.version>
<redisson.version>3.19.2</redisson.version>
<easy-captcha.version>1.6.2</easy-captcha.version>
<hutool.version>5.8.11</hutool.version>
<hutool.version>5.8.15</hutool.version>
<okhttp.version>4.10.0</okhttp.version>
<!-- ### 基础环境相关 ### -->
<revision>0.0.1-SNAPSHOT</revision>
<java.version>1.8</java.version>
<revision>3.0.0</revision>
<spotless.version>2.28.0</spotless.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- <skipTests>true</skipTests>-->
<!-- ### 下面的这些属性spring-boot-starter-parent里<properties>已经有定义, 无需重复定义 ### -->
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
<!-- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>-->
<!-- <java.version>17</java.version>-->
<!-- <maven.compiler.source>17</maven.compiler.source>-->
<!-- <maven.compiler.target>17</maven.compiler.target>-->
</properties>
<profiles>
@@ -146,6 +150,12 @@ limitations under the License.
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- 第三方封装 Ip2region离线 IP 数据管理框架和定位库支持亿级别的数据段10 微秒级别的查询性能,提供了许多主流编程语言的 xdb 数据管理引擎的实现) -->
@@ -185,6 +195,13 @@ limitations under the License.
<version>${hutool.version}</version>
</dependency>
<!-- OkHttp网络请求库-->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<!-- ################ 本项目子模块相关 ################ -->
<!-- API 模块(存放 Controller 层代码,打包部署的模块) -->
<dependency>
@@ -291,8 +308,8 @@ limitations under the License.
<!-- 远程仓库配置:阿里云 Maven 中央仓库公共代理仓库Central 仓和 JCenter 仓的聚合仓,帮助研发人员提高研发生产效率,使用阿里云 Maven 中央仓库作为下载源,速度更快更稳定) -->
<repositories>
<repository>
<id>public</id>
<name>aliyun maven</name>
<id>aliyun-public</id>
<name>aliyun maven public</name>
<url>https://maven.aliyun.com/repository/public/</url>
<releases>
<enabled>true</enabled>
@@ -302,8 +319,8 @@ limitations under the License.
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun maven</name>
<id>aliyun-public</id>
<name>aliyun maven public</name>
<url>https://maven.aliyun.com/repository/public/</url>
<releases>
<enabled>true</enabled>