Commit 0bd7d310a18d66df2d1b24bf7414ef2d65313262
1 parent
7841fba5
pom
Showing
1 changed file
with
10 additions
and
5 deletions
pom.xml
| ... | ... | @@ -32,17 +32,17 @@ |
| 32 | 32 | <url>https://github.com/YunaiV/ruoyi-vue-pro</url> |
| 33 | 33 | |
| 34 | 34 | <properties> |
| 35 | - <revision>2.0.1-jdk8-snapshot</revision> | |
| 35 | + <revision>2.0.1-snapshot</revision> | |
| 36 | 36 | <!-- Maven 相关 --> |
| 37 | - <java.version>1.8</java.version> | |
| 37 | + <java.version>21</java.version> | |
| 38 | 38 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 39 | 39 | <maven.compiler.target>${java.version}</maven.compiler.target> |
| 40 | - <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> | |
| 41 | - <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> | |
| 40 | + <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version> | |
| 41 | + <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> | |
| 42 | 42 | <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> |
| 43 | 43 | <!-- 看看咋放到 bom 里 --> |
| 44 | 44 | <lombok.version>1.18.30</lombok.version> |
| 45 | - <spring.boot.version>2.7.18</spring.boot.version> | |
| 45 | + <spring.boot.version>3.2.2</spring.boot.version> | |
| 46 | 46 | <mapstruct.version>1.5.5.Final</mapstruct.version> |
| 47 | 47 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 48 | 48 | </properties> |
| ... | ... | @@ -93,6 +93,11 @@ |
| 93 | 93 | <version>${mapstruct.version}</version> |
| 94 | 94 | </path> |
| 95 | 95 | </annotationProcessorPaths> |
| 96 | + <!-- 编译参数写在 arg 内,解决 Spring Boot 3.2 的 Parameter Name Discovery 问题 --> | |
| 97 | + <debug>false</debug> | |
| 98 | + <compilerArgs> | |
| 99 | + <arg>-parameters</arg> | |
| 100 | + </compilerArgs> | |
| 96 | 101 | </configuration> |
| 97 | 102 | </plugin> |
| 98 | 103 | <plugin> | ... | ... |