You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/02/10 04:04:25 UTC
[pulsar] 02/13: Upgrade commons-cli to 1.5.0 (#14094)
This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit dafc8385719c4d7451140290267f86bc52599f01
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Feb 2 20:29:23 2022 +0200
Upgrade commons-cli to 1.5.0 (#14094)
- commons-cli 1.3+ is required by Zookeeper 3.7.0+
- https://github.com/apache/zookeeper/commit/492fd79b
- commons-cli versions <1.3 fail with error:
java.lang.NoClassDefFoundError: org/apache/commons/cli/DefaultParser
(cherry picked from commit 20af454af44d979fc43c77de3b8d0e0114411db7)
---
distribution/server/src/assemble/LICENSE.bin.txt | 2 +-
pom.xml | 6 ++++++
pulsar-sql/presto-distribution/LICENSE | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt
index a4c643a..5ca8eee 100644
--- a/distribution/server/src/assemble/LICENSE.bin.txt
+++ b/distribution/server/src/assemble/LICENSE.bin.txt
@@ -341,7 +341,7 @@ The Apache Software License, Version 2.0
- com.yahoo.datasketches-memory-0.8.3.jar
- com.yahoo.datasketches-sketches-core-0.8.3.jar
* Apache Commons
- - commons-cli-commons-cli-1.2.jar
+ - commons-cli-commons-cli-1.5.0.jar
- commons-codec-commons-codec-1.15.jar
- commons-collections-commons-collections-3.2.2.jar
- commons-configuration-commons-configuration-1.10.jar
diff --git a/pom.xml b/pom.xml
index 88e1635..41ef32b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,6 +105,7 @@ flexible messaging model and an intuitive client API.</description>
<bookkeeper.version>4.14.4</bookkeeper.version>
<zookeeper.version>3.6.3</zookeeper.version>
+ <commons-cli.version>1.5.0</commons-cli.version>
<snappy.version>1.1.7</snappy.version> <!-- ZooKeeper server -->
<dropwizardmetrics.version>3.2.5</dropwizardmetrics.version> <!-- ZooKeeper server -->
<curator.version>5.1.0</curator.version>
@@ -342,6 +343,11 @@ flexible messaging model and an intuitive client API.</description>
<version>${zookeeper.version}</version>
</dependency>
<dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <version>${commons-cli.version}</version>
+ </dependency>
+ <dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${dropwizardmetrics.version}</version>
diff --git a/pulsar-sql/presto-distribution/LICENSE b/pulsar-sql/presto-distribution/LICENSE
index c6840b8..2aaf175 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -428,7 +428,7 @@ The Apache Software License, Version 2.0
- prometheus-metrics-provider-4.14.4.jar
- codahale-metrics-provider-4.14.4.jar
* Apache Commons
- - commons-cli-1.2.jar
+ - commons-cli-1.5.0.jar
- commons-codec-1.15.jar
- commons-collections4-4.1.jar
- commons-configuration-1.10.jar