This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 179016b8c5a [fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
179016b8c5a is described below
commit 179016b8c5a15836c887c061ae6c8fe05312be45
Author: Masahiro Sakamoto <[email protected]>
AuthorDate: Wed Feb 21 18:51:56 2024 +0900
[fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
(cherry picked from commit 613a77100226628d8685d34260685d2df2b405ae)
---
distribution/server/src/assemble/LICENSE.bin.txt | 2 +-
distribution/shell/src/assemble/LICENSE.bin.txt | 2 +-
pom.xml | 2 +-
.../org/apache/pulsar/functions/instance/JavaInstanceDepsTest.java | 4 ++++
pulsar-sql/presto-distribution/LICENSE | 2 +-
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/distribution/server/src/assemble/LICENSE.bin.txt
b/distribution/server/src/assemble/LICENSE.bin.txt
index 040ccb723ec..77d7be44478 100644
--- a/distribution/server/src/assemble/LICENSE.bin.txt
+++ b/distribution/server/src/assemble/LICENSE.bin.txt
@@ -285,7 +285,7 @@ The Apache Software License, Version 2.0
- commons-lang-commons-lang-2.6.jar
- commons-logging-commons-logging-1.1.1.jar
- org.apache.commons-commons-collections4-4.4.jar
- - org.apache.commons-commons-compress-1.21.jar
+ - org.apache.commons-commons-compress-1.26.0.jar
- org.apache.commons-commons-lang3-3.11.jar
- org.apache.commons-commons-text-1.10.0.jar
* Netty
diff --git a/distribution/shell/src/assemble/LICENSE.bin.txt
b/distribution/shell/src/assemble/LICENSE.bin.txt
index c3eedd70fa7..cd230e3b052 100644
--- a/distribution/shell/src/assemble/LICENSE.bin.txt
+++ b/distribution/shell/src/assemble/LICENSE.bin.txt
@@ -346,7 +346,7 @@ The Apache Software License, Version 2.0
- commons-logging-1.2.jar
- commons-lang3-3.11.jar
- commons-text-1.10.0.jar
- - commons-compress-1.21.jar
+ - commons-compress-1.26.0.jar
* Netty
- netty-buffer-4.1.100.Final.jar
- netty-codec-4.1.100.Final.jar
diff --git a/pom.xml b/pom.xml
index 08adf869b98..180a0ac59d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,7 +131,7 @@ flexible messaging model and an intuitive client
API.</description>
<narPluginPhase>package</narPluginPhase>
<!-- apache commons -->
- <commons-compress.version>1.21</commons-compress.version>
+ <commons-compress.version>1.26.0</commons-compress.version>
<bookkeeper.version>4.16.4</bookkeeper.version>
<zookeeper.version>3.9.1</zookeeper.version>
diff --git
a/pulsar-functions/runtime-all/src/test/java/org/apache/pulsar/functions/instance/JavaInstanceDepsTest.java
b/pulsar-functions/runtime-all/src/test/java/org/apache/pulsar/functions/instance/JavaInstanceDepsTest.java
index 854c1468932..b65bf17f70b 100644
---
a/pulsar-functions/runtime-all/src/test/java/org/apache/pulsar/functions/instance/JavaInstanceDepsTest.java
+++
b/pulsar-functions/runtime-all/src/test/java/org/apache/pulsar/functions/instance/JavaInstanceDepsTest.java
@@ -46,6 +46,8 @@ import java.util.zip.ZipInputStream;
* 8. Apache AVRO
* 9. Jackson Mapper and Databind (dependency of AVRO)
* 10. Apache Commons Compress (dependency of AVRO)
+ * 11. Apache Commons Lang (dependency of Apache Commons Compress)
+ * 12. Apache Commons IO (dependency of Apache Commons Compress)
*/
public class JavaInstanceDepsTest {
@@ -71,6 +73,8 @@ public class JavaInstanceDepsTest {
&& !name.startsWith("org/apache/avro")
&& !name.startsWith("com/fasterxml/jackson")
&& !name.startsWith("org/apache/commons/compress")
+ && !name.startsWith("org/apache/commons/lang3")
+ && !name.startsWith("org/apache/commons/io")
&& !name.startsWith("com/google")
&& !name.startsWith("org/checkerframework")
&& !name.startsWith("javax/annotation")
diff --git a/pulsar-sql/presto-distribution/LICENSE
b/pulsar-sql/presto-distribution/LICENSE
index 398562c7dc2..f25ca8ec78b 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -228,7 +228,7 @@ The Apache Software License, Version 2.0
- guice-5.1.0.jar
* Apache Commons
- commons-math3-3.6.1.jar
- - commons-compress-1.21.jar
+ - commons-compress-1.26.0.jar
- commons-lang3-3.11.jar
* Netty
- netty-buffer-4.1.100.Final.jar