From 10fe35442229997ac5b41a50ab250f953852b23f Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Mon, 9 Dec 2024 11:38:47 -0800 Subject: [PATCH] Force commons-io transitive dependency version Signed-off-by: Daniel Widdis --- test/fixtures/hdfs-fixture/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/fixtures/hdfs-fixture/build.gradle b/test/fixtures/hdfs-fixture/build.gradle index dd6d782ecc109..250bbc45e5fa0 100644 --- a/test/fixtures/hdfs-fixture/build.gradle +++ b/test/fixtures/hdfs-fixture/build.gradle @@ -31,6 +31,7 @@ apply plugin: 'opensearch.java' dependencies { + api("commons-io:commons-io:2.16.0") api("org.apache.hadoop:hadoop-minicluster:3.3.5") { exclude module: 'websocket-client' exclude module: 'jettison' @@ -41,6 +42,7 @@ dependencies { exclude group: "org.bouncycastle" exclude group: "com.squareup.okhttp3" exclude group: "org.xerial.snappy" + exclude group: "commons-io" exclude module: "json-io" exclude module: "logback-core" exclude module: "logback-classic" @@ -66,7 +68,9 @@ dependencies { api "org.eclipse.jetty.websocket:javax-websocket-server-impl:${versions.jetty}" api "ch.qos.logback:logback-core:1.2.13" api "ch.qos.logback:logback-classic:1.2.13" - api 'org.apache.kerby:kerb-admin:2.0.3' + api("org.apache.kerby:kerb-admin:2.0.3") { + exclude group: "commons-io" + } runtimeOnly "com.google.guava:guava:${versions.guava}" runtimeOnly("com.squareup.okhttp3:okhttp:4.11.0") { exclude group: "com.squareup.okio"