mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
chore: upgrade Spring Boot 3.4.5 -> 4.0.0 with compiler and SecurityConfig fixes
- Move maven-compiler-plugin from pluginManagement to plugins for proper release 17 inheritance - Remove deprecated UserDetailsServiceAutoConfiguration exclude (removed in Boot 4.0) - Switch MyBatis-Plus to boot4-starter
This commit is contained in:
+15
-13
@@ -18,14 +18,14 @@
|
||||
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<spring-boot.version>3.4.5</spring-boot.version>
|
||||
<!-- 平台数据访问:PostgreSQL 15 + MyBatis-Plus(Spring Boot 3 用 boot3-starter) -->
|
||||
<spring-boot.version>4.0.0</spring-boot.version>
|
||||
<!-- 平台数据访问:PostgreSQL 15 + MyBatis-Plus(Spring Boot 4 用 boot4-starter) -->
|
||||
<mybatis-plus.version>3.5.15</mybatis-plus.version>
|
||||
</properties>
|
||||
|
||||
<!--
|
||||
说明:选用 Spring Boot 3.4.x LTS 以保证多数环境可解析;
|
||||
产品文档目标 4.0.* 可在父 POM 升级 spring-boot.version 并全量回归。
|
||||
Spring Boot 4.0.x — 与 docs/平台架构思路.md 对齐。
|
||||
MyBatis-Plus 使用 boot4-starter。
|
||||
-->
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
@@ -38,13 +38,23 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||||
<artifactId>mybatis-plus-spring-boot4-starter</artifactId>
|
||||
<version>${mybatis-plus.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@@ -59,14 +69,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 子模块显式引用后,在 validate 阶段禁止引入客户端 JNI SDK -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
Reference in New Issue
Block a user