|
@@ -17,6 +17,8 @@
|
|
|
<revision>2.2.0-jdk8-snapshot</revision>
|
|
|
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
|
|
<!-- 统一依赖管理 -->
|
|
|
+ <spring.framework.version>5.3.39</spring.framework.version>
|
|
|
+ <spring.security.version>5.8.14</spring.security.version>
|
|
|
<spring.boot.version>2.7.18</spring.boot.version>
|
|
|
<!-- Web 相关 -->
|
|
|
<springdoc.version>1.7.0</springdoc.version>
|
|
@@ -86,6 +88,20 @@
|
|
|
<type>pom</type>
|
|
|
<scope>import</scope>
|
|
|
</dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-framework-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Framework 尽量高 -->
|
|
|
+ <version>${spring.framework.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.security</groupId>
|
|
|
+ <artifactId>spring-security-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Security 尽量高 -->
|
|
|
+ <version>${spring.security.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|