File tree Expand file tree Collapse file tree 3 files changed +25
-7
lines changed
Expand file tree Collapse file tree 3 files changed +25
-7
lines changed Original file line number Diff line number Diff line change @@ -670,6 +670,13 @@ project(':iceberg-delta-lake') {
670670 }
671671 }
672672
673+ configurations. all {
674+ resolutionStrategy. capabilitiesResolution. withCapability(" org.lz4:lz4-java" ) {
675+ select(" at.yawk.lz4:lz4-java:0" )
676+ because(" Resolve lz4-java capability conflict between Spark 3.5 (org.lz4:lz4-java:1.8.0) and Iceberg (at.yawk.lz4:lz4-java:1.10.2)" )
677+ }
678+ }
679+
673680 // The newest version of delta-core uses Spark 3.5.*. The integration test should only be built
674681 // if iceberg-spark-3.5 is available
675682 if (sparkVersions. contains(" 3.5" )) {
Original file line number Diff line number Diff line change @@ -29,13 +29,6 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-events') {
2929 test {
3030 useJUnitPlatform()
3131 }
32-
33- configurations. all {
34- resolutionStrategy. capabilitiesResolution. withCapability(" org.lz4:lz4-java" ) {
35- select(" at.yawk.lz4:lz4-java:0" )
36- because(" Resolve lz4-java capability conflict caused by relocation and CVEs (CVE-2025-12183 & CVE-2025-66566)" )
37- }
38- }
3932}
4033
4134project(' :iceberg-kafka-connect:iceberg-kafka-connect' ) {
@@ -272,3 +265,14 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-transforms') {
272265 useJUnitPlatform()
273266 }
274267}
268+
269+ subprojects {
270+ if (project. name. contains(' kafka-connect' )) {
271+ configurations. all {
272+ resolutionStrategy. capabilitiesResolution. withCapability(" org.lz4:lz4-java" ) {
273+ select(" at.yawk.lz4:lz4-java:0" )
274+ because(" Resolve lz4-java capability conflict between deprecated org.lz4:lz4-java:1.8.0 (from Kafka Clients 3.9.1) and secure at.yawk.lz4:lz4-java:1.10.2 (from Iceberg)" )
275+ }
276+ }
277+ }
278+ }
Original file line number Diff line number Diff line change @@ -120,6 +120,13 @@ project(":iceberg-spark:iceberg-spark-${sparkMajorVersion}_${scalaVersion}") {
120120 useJUnitPlatform()
121121 }
122122
123+ configurations. all {
124+ resolutionStrategy. capabilitiesResolution. withCapability(" org.lz4:lz4-java" ) {
125+ select(" at.yawk.lz4:lz4-java:0" )
126+ because(" Resolve lz4-java capability conflict caused by relocation and CVEs (CVE-2025-12183 & CVE-2025-66566)" )
127+ }
128+ }
129+
123130 tasks. withType(Test ) {
124131 // Vectorized reads need more memory
125132 maxHeapSize ' 3160m'
You can’t perform that action at this time.
0 commit comments