From 93b5a8326bfcde747b43b481064096e01b7a407f Mon Sep 17 00:00:00 2001 From: Shivam Garg Date: Fri, 4 Oct 2024 13:26:56 +0530 Subject: [PATCH] Upgrade commons-io to 2.17.0 (#17227) --- .../DruidPeonClientIntegrationTest.java | 4 ++-- extensions-core/protobuf-extensions/pom.xml | 2 +- licenses.yaml | 18 ++---------------- pom.xml | 2 +- 4 files changed, 6 insertions(+), 20 deletions(-) diff --git a/extensions-contrib/kubernetes-overlord-extensions/src/test/java/org/apache/druid/k8s/overlord/taskadapter/DruidPeonClientIntegrationTest.java b/extensions-contrib/kubernetes-overlord-extensions/src/test/java/org/apache/druid/k8s/overlord/taskadapter/DruidPeonClientIntegrationTest.java index e2d97accc97..44570fac2d2 100644 --- a/extensions-contrib/kubernetes-overlord-extensions/src/test/java/org/apache/druid/k8s/overlord/taskadapter/DruidPeonClientIntegrationTest.java +++ b/extensions-contrib/kubernetes-overlord-extensions/src/test/java/org/apache/druid/k8s/overlord/taskadapter/DruidPeonClientIntegrationTest.java @@ -50,8 +50,8 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; import java.io.File; -import java.io.IOException; import java.io.InputStream; +import java.io.UncheckedIOException; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.nio.file.Paths; @@ -147,7 +147,7 @@ public class DruidPeonClientIntegrationTest .map(Integer::parseInt) .collect(Collectors.toList())); } - catch (IOException e) { + catch (UncheckedIOException e) { throw new RuntimeException(e); } }); diff --git a/extensions-core/protobuf-extensions/pom.xml b/extensions-core/protobuf-extensions/pom.xml index 2c7c82cd34a..61ba13eb9b8 100644 --- a/extensions-core/protobuf-extensions/pom.xml +++ b/extensions-core/protobuf-extensions/pom.xml @@ -35,7 +35,7 @@ - 2.11.0 + 2.17.0 3.6.0 diff --git a/licenses.yaml b/licenses.yaml index a5e48c7d010..3dcc0424d6f 100644 --- a/licenses.yaml +++ b/licenses.yaml @@ -546,13 +546,13 @@ name: Apache Commons IO license_category: binary module: java-core license_name: Apache License version 2.0 -version: 2.11.0 +version: 2.17.0 libraries: - commons-io: commons-io notices: - commons-io: | Apache Commons IO - Copyright 2002-2021 The Apache Software Foundation + Copyright 2002-2024 The Apache Software Foundation --- @@ -2521,20 +2521,6 @@ notices: --- -name: Apache Commons IO -license_category: binary -module: hadoop-client -license_name: Apache License version 2.0 -version: 2.4 -libraries: - - commons-io: commons-io -notices: - - commons-io: | - Apache Commons IO - Copyright 2002-2012 The Apache Software Foundation - ---- - name: Apache Commons Logging license_category: binary module: hadoop-client diff --git a/pom.xml b/pom.xml index 0a2dfab66c8..cc5c87d8f8f 100644 --- a/pom.xml +++ b/pom.xml @@ -294,7 +294,7 @@ commons-io commons-io - 2.11.0 + 2.17.0 commons-logging