test05 添加lombok编译配置

This commit is contained in:
awin-x 2025-10-07 18:15:14 +08:00
parent 45d462b02f
commit e8aa9be93d
2 changed files with 23 additions and 0 deletions

7
.gitignore vendored
View File

@ -67,6 +67,13 @@ replay_pid*
# *.iml
# *.ipr
# Maven
*/mvnw*
.mvn/
# VSCODE
.vscode/
# CMake
cmake-build-*/

View File

@ -126,6 +126,22 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>25</source> <!-- 根据你的JDK版本调整 -->
<target>25</target>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>