diff --git a/buildtools/pom.xml b/buildtools/pom.xml index bde241fa511c5..1b5b6680630ae 100644 --- a/buildtools/pom.xml +++ b/buildtools/pom.xml @@ -50,7 +50,7 @@ 2.23.1 2.0.13 7.7.1 - 3.11 + 3.17.0 4.1 10.14.2 3.1.2 diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt index 1767dd128bc9b..fdf59bcbffd1f 100644 --- a/distribution/server/src/assemble/LICENSE.bin.txt +++ b/distribution/server/src/assemble/LICENSE.bin.txt @@ -282,16 +282,16 @@ 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.5.0.jar - - commons-codec-commons-codec-1.15.jar + - commons-cli-commons-cli-1.9.0.jar + - commons-codec-commons-codec-1.18.0.jar - commons-configuration-commons-configuration-1.10.jar - - commons-io-commons-io-2.18.0.jar + - commons-io-commons-io-2.19.0.jar - 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.26.0.jar - - org.apache.commons-commons-lang3-3.11.jar - - org.apache.commons-commons-text-1.10.0.jar + - org.apache.commons-commons-compress-1.27.0.jar + - org.apache.commons-commons-lang3-3.17.0.jar + - org.apache.commons-commons-text-1.13.1.jar * Netty - io.netty-netty-buffer-4.1.119.Final.jar - io.netty-netty-codec-4.1.119.Final.jar diff --git a/distribution/shell/src/assemble/LICENSE.bin.txt b/distribution/shell/src/assemble/LICENSE.bin.txt index 6a9edafdeb9a9..a04cb9d08dd46 100644 --- a/distribution/shell/src/assemble/LICENSE.bin.txt +++ b/distribution/shell/src/assemble/LICENSE.bin.txt @@ -338,14 +338,14 @@ The Apache Software License, Version 2.0 - memory-0.8.3.jar - sketches-core-0.8.3.jar * Apache Commons - - commons-codec-1.15.jar + - commons-codec-1.18.0.jar - commons-configuration-1.10.jar - - commons-io-2.18.0.jar + - commons-io-2.19.0.jar - commons-lang-2.6.jar - commons-logging-1.2.jar - - commons-lang3-3.11.jar - - commons-text-1.10.0.jar - - commons-compress-1.26.0.jar + - commons-lang3-3.17.0.jar + - commons-text-1.13.1.jar + - commons-compress-1.27.0.jar * Netty - netty-buffer-4.1.119.Final.jar - netty-codec-4.1.119.Final.jar diff --git a/pom.xml b/pom.xml index 1605cc6ee2a1c..317e7b697c9b8 100644 --- a/pom.xml +++ b/pom.xml @@ -139,12 +139,12 @@ flexible messaging model and an intuitive client API. package - 1.26.0 + 1.27.0 4.17.1 3.9.3 - 1.5.0 - 1.10.0 + 1.9.0 + 1.13.1 1.1.10.5 4.1.12.1 5.7.1 @@ -218,10 +218,10 @@ flexible messaging model and an intuitive client API. 6.2.8 0.27 2.12.4 - 3.11 + 3.17.0 1.10 - 2.18.0 - 1.15 + 2.19.0 + 1.18.0 2.1.6 2.1.9 3.1.0 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 b65bf17f70b44..e29f19a8eee99 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 @@ -48,13 +48,17 @@ * 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) + * 13. Apache Commons Codec + * - this gets included possibly due to a maven-assembly-plugin bug since there is no direct or transitive + * dependency in pulsar-functions/runtime-all to this library for runtime scope. In the test scope, it is + * present. */ public class JavaInstanceDepsTest { @Test public void testInstanceJarDeps() throws IOException { File jar = new File("target/java-instance.jar"); - + @Cleanup ZipInputStream zip = new ZipInputStream(jar.toURI().toURL().openStream()); @@ -75,6 +79,7 @@ public void testInstanceJarDeps() throws IOException { && !name.startsWith("org/apache/commons/compress") && !name.startsWith("org/apache/commons/lang3") && !name.startsWith("org/apache/commons/io") + && !name.startsWith("org/apache/commons/codec") && !name.startsWith("com/google") && !name.startsWith("org/checkerframework") && !name.startsWith("javax/annotation")