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 2026/06/22 12:03:46 UTC
(pulsar) 16/17: [fix][sec] Upgrade jline to 4.2.1 and picocli to 4.7.7, drop unused jline2 (#26068)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit a78f38a4eb949508fea50934848d46485678e6c7
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Sat Jun 20 13:51:53 2026 +0300
[fix][sec] Upgrade jline to 4.2.1 and picocli to 4.7.7, drop unused jline2 (#26068)
(cherry picked from commit c536dcbd4ce598123dbbb967d1d37788c9a0b8a8)
---
distribution/server/pom.xml | 6 ------
distribution/server/src/assemble/LICENSE.bin.txt | 7 +++----
distribution/shell/src/assemble/LICENSE.bin.txt | 6 +++---
pom.xml | 5 ++---
4 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/distribution/server/pom.xml b/distribution/server/pom.xml
index 94c858a6f461..8255ab972e72 100644
--- a/distribution/server/pom.xml
+++ b/distribution/server/pom.xml
@@ -93,12 +93,6 @@
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>jline</groupId>
- <artifactId>jline</artifactId>
- <version>${jline.version}</version>
- </dependency>
-
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-package-bookkeeper-storage</artifactId>
diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt
index da1ddf3704c1..1c5b15d1a548 100644
--- a/distribution/server/src/assemble/LICENSE.bin.txt
+++ b/distribution/server/src/assemble/LICENSE.bin.txt
@@ -245,8 +245,8 @@ This projects includes binary packages with the following licenses:
The Apache Software License, Version 2.0
* JCommander -- com.beust-jcommander-1.82.jar
* Picocli
- - info.picocli-picocli-4.7.5.jar
- - info.picocli-picocli-shell-jline3-4.7.5.jar
+ - info.picocli-picocli-4.7.7.jar
+ - info.picocli-picocli-shell-jline3-4.7.7.jar
* High Performance Primitive Collections for Java -- com.carrotsearch-hppc-0.9.1.jar
* Jackson
- com.fasterxml.jackson.core-jackson-annotations-2.18.6.jar
@@ -565,8 +565,7 @@ BSD 3-clause "New" or "Revised" License
- com.google.auth-google-auth-library-oauth2-http-1.24.1.jar -- ../licenses/LICENSE-google-auth-library.txt
* LevelDB -- (included in org.rocksdb.*.jar) -- ../licenses/LICENSE-LevelDB.txt
* JSR305 -- com.google.code.findbugs-jsr305-3.0.2.jar -- ../licenses/LICENSE-JSR305.txt
- * JLine -- jline-jline-2.14.6.jar -- ../licenses/LICENSE-JLine.txt
- * JLine3 -- org.jline-jline-3.21.0.jar -- ../licenses/LICENSE-JLine.txt
+ * JLine3 -- org.jline-jline-4.2.1.jar -- ../licenses/LICENSE-JLine.txt
* OW2 ASM
- org.ow2.asm-asm-9.10.jar -- ../licenses/LICENSE-ASM.txt
- org.ow2.asm-asm-commons-9.10.jar -- ../licenses/LICENSE-ASM.txt
diff --git a/distribution/shell/src/assemble/LICENSE.bin.txt b/distribution/shell/src/assemble/LICENSE.bin.txt
index 2bae377ffc92..82a0828770b2 100644
--- a/distribution/shell/src/assemble/LICENSE.bin.txt
+++ b/distribution/shell/src/assemble/LICENSE.bin.txt
@@ -310,8 +310,8 @@ This projects includes binary packages with the following licenses:
The Apache Software License, Version 2.0
* Picocli
- - picocli-4.7.5.jar
- - picocli-shell-jline3-4.7.5.jar
+ - picocli-4.7.7.jar
+ - picocli-shell-jline3-4.7.7.jar
* Jackson
- jackson-annotations-2.18.6.jar
- jackson-core-2.18.6.jar
@@ -426,8 +426,8 @@ The Apache Software License, Version 2.0
* JSpecify -- jspecify-1.0.0.jar
BSD 3-clause "New" or "Revised" License
+ * JLine3 -- jline-4.2.1.jar -- ../licenses/LICENSE-JLine.txt
* JSR305 -- jsr305-3.0.2.jar -- ../licenses/LICENSE-JSR305.txt
- * JLine3 -- jline-3.21.0.jar -- ../licenses/LICENSE-JLine.txt
MIT License
* SLF4J -- ../licenses/LICENSE-SLF4J.txt
diff --git a/pom.xml b/pom.xml
index 60d188e476ba..ed357605cce0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -272,8 +272,7 @@ flexible messaging model and an intuitive client API.</description>
<javax.servlet-api>3.1.0</javax.servlet-api>
<caffeine.version>2.9.1</caffeine.version>
<java-semver.version>0.9.0</java-semver.version>
- <jline.version>2.14.6</jline.version>
- <jline3.version>3.21.0</jline3.version>
+ <jline3.version>4.2.1</jline3.version>
<hppc.version>0.9.1</hppc.version>
<spark-streaming_2.10.version>2.1.0</spark-streaming_2.10.version>
<assertj-core.version>3.27.7</assertj-core.version>
@@ -311,7 +310,7 @@ flexible messaging model and an intuitive client API.</description>
<opentelemetry.instrumentation.version>2.21.0</opentelemetry.instrumentation.version>
<opentelemetry.instrumentation.alpha.version>${opentelemetry.instrumentation.version}-alpha</opentelemetry.instrumentation.alpha.version>
<opentelemetry.semconv.version>1.37.0</opentelemetry.semconv.version>
- <picocli.version>4.7.5</picocli.version>
+ <picocli.version>4.7.7</picocli.version>
<re2j.version>1.8</re2j.version>
<completable-futures.version>0.3.6</completable-futures.version>
<failsafe.version>3.3.2</failsafe.version>