You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/02/21 09:52:02 UTC
(pulsar) branch master updated: [fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 613a7710022 [fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
613a7710022 is described below
commit 613a77100226628d8685d34260685d2df2b405ae
Author: Masahiro Sakamoto <ma...@lycorp.co.jp>
AuthorDate: Wed Feb 21 18:51:56 2024 +0900
[fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
---
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 ++++
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt
index 7c95811faf7..4755e14911a 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 4cda56825de..06b48f93275 100644
--- a/distribution/shell/src/assemble/LICENSE.bin.txt
+++ b/distribution/shell/src/assemble/LICENSE.bin.txt
@@ -342,7 +342,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.105.Final.jar
- netty-codec-4.1.105.Final.jar
diff --git a/pom.xml b/pom.xml
index 52a638ac09f..b8fd41c7d63 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")