mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
reset(build): 添加release参数支持JDK新特性编译,避免非Java25
- 在maven-compiler-plugin配置中新增release参数 - 移除过时的annotationProcessorPaths配置 - 保持与source参数一致的JDK版本兼容性
This commit is contained in:
1 parent
92d9b403c0
commit
dc3ad69a38
1 file changed
+1
-7
@@ -240,15 +240,9 @@
|
||||
<configuration>
|
||||
<target>${maven.compiler.target}</target>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<release>${maven.compiler.source}</release>
|
||||
<encoding>UTF-8</encoding>
|
||||
<parameters>true</parameters>
|
||||
<!-- 支持 JDK 25 编译 -->
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!--打包关联最新 git commit 信息插件-->
|
||||
|
||||
Reference in new issue
Block a user