Skip to content

Commit

Permalink
Upgrade commons-cli to 1.5.0 (#14094)
Browse files Browse the repository at this point in the history
- commons-cli 1.3+ is required by Zookeeper 3.7.0+
  - apache/zookeeper@492fd79b
  - commons-cli versions <1.3 fail with error:
    java.lang.NoClassDefFoundError: org/apache/commons/cli/DefaultParser
  • Loading branch information
lhotari committed Feb 2, 2022
1 parent ac414f2 commit 20af454
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -346,6 +347,11 @@ flexible messaging model and an intuitive client API.</description>
<artifactId>zookeeper-jute</artifactId>
<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>
Expand Down
2 changes: 1 addition & 1 deletion pulsar-sql/presto-distribution/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,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
Expand Down

0 comments on commit 20af454

Please sign in to comment.