mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
fix: 为 JDK 25+ 添加 Byte Buddy 版本覆盖 profile
- 新增 jdk25-byte-buddy profile,在 JDK 25 及以上环境显式指定 Byte Buddy 版本为 1.18.11,避免 Sentinel BOM 引入的旧版不兼容 (cherry picked from commit 07a61ad7e3a4b5f1f6e166557bbc6a36638d485b)
This commit is contained in:
1 parent
2bc231f1bf
commit
60babcbc3d
1 file changed
+24
@@ -292,6 +292,30 @@
|
||||
<module>pigx-boot</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<!-- JDK 25+ 避免 Sentinel BOM 引入不兼容的旧版 Byte Buddy -->
|
||||
<profile>
|
||||
<id>jdk25-byte-buddy</id>
|
||||
<activation>
|
||||
<jdk>[25,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<byte-buddy.version>1.18.11</byte-buddy.version>
|
||||
</properties>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>net.bytebuddy</groupId>
|
||||
<artifactId>byte-buddy</artifactId>
|
||||
<version>${byte-buddy.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.bytebuddy</groupId>
|
||||
<artifactId>byte-buddy-agent</artifactId>
|
||||
<version>${byte-buddy.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</profile>
|
||||
<!-- JDK 25+ 默认关闭注解处理器自动发现,需要显式声明 Lombok -->
|
||||
<profile>
|
||||
<id>jdk25-annotation-processor</id>
|
||||
|
||||
Reference in new issue
Block a user