You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by yo...@apache.org on 2022/02/11 02:27:27 UTC
[pulsar] 02/04: Upgrade commons-cli to 1.5.0 (#14094)
This is an automated email from the ASF dual-hosted git repository.
yong pushed a commit to branch branch-2.8
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 4660c13de982768cea34a3f3153103b384006614
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 4653b71..455ca83 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 27dcb4e..22b29c0 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>
@@ -327,6 +328,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 93499f4..85987f8 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -427,7 +427,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