You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/12/06 16:38:10 UTC

[flink-connector-pulsar] 09/16: [FLINK-29624][Common][Connector][Filesystem] Upgrade org.apache.commons:commons-lang3 from 3.3.2 to 3.12.0

This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-pulsar.git

commit 1c886323ad9edf985efbf04e602ed524d6fa6beb
Author: Martijn Visser <ma...@apache.org>
AuthorDate: Thu Oct 13 11:14:49 2022 +0200

    [FLINK-29624][Common][Connector][Filesystem] Upgrade org.apache.commons:commons-lang3 from 3.3.2 to 3.12.0
    
    * Remove Pulsar specific version of `commons-lang3` since Flink now uses a newer version
    * Replace usage of deprecated method `org.apache.commons.lang3.ArrayUtils#add` with `org.apache.commons.lang3.ArrayUtils#insert`
    * Replace usage of `org.apache.commons.lang3.StringEscapeUtils` with `org.apache.commons.text.StringEscapeUtils`
---
 flink-connector-pulsar/pom.xml | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/flink-connector-pulsar/pom.xml b/flink-connector-pulsar/pom.xml
index 30c0a1b..3118a9a 100644
--- a/flink-connector-pulsar/pom.xml
+++ b/flink-connector-pulsar/pom.xml
@@ -41,7 +41,6 @@ under the License.
 		<!-- Test Libraries -->
 		<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
 		<os-maven-plugin.version>1.7.0</os-maven-plugin.version>
-		<pulsar-commons-lang3.version>3.11</pulsar-commons-lang3.version>
 		<pulsar-netty.version>4.1.77.Final</pulsar-netty.version>
 		<pulsar-grpc.version>1.45.1</pulsar-grpc.version>
 	</properties>
@@ -137,15 +136,6 @@ under the License.
 			<scope>test</scope>
 		</dependency>
 
-		<!-- Pulsar use a newer commons-lang3 in broker. -->
-		<!-- Bump the version only for testing. -->
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-lang3</artifactId>
-			<version>${pulsar-commons-lang3.version}</version>
-			<scope>test</scope>
-		</dependency>
-
 		<!-- Add Pulsar 2.x as a dependency. -->
 		<!-- Move this to button for avoiding class conflicts with pulsar-broker. -->