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

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


The following commit(s) were added to refs/heads/main by this push:
     new 939d01d  [FLINK-39101] Rationalize POM file versions and exclusions
939d01d is described below

commit 939d01d4008770981ee3e8c4f1158deb9f1fd480
Author: David Radley <[email protected]>
AuthorDate: Tue Feb 17 16:25:13 2026 +0000

    [FLINK-39101] Rationalize POM file versions and exclusions
---
 flink-connector-http/pom.xml     |  48 ---------------
 flink-sql-connector-http/pom.xml |  12 ----
 pom.xml                          | 124 ++++++++++++++++++++++++++++++---------
 3 files changed, 96 insertions(+), 88 deletions(-)

diff --git a/flink-connector-http/pom.xml b/flink-connector-http/pom.xml
index 619fb17..356107c 100644
--- a/flink-connector-http/pom.xml
+++ b/flink-connector-http/pom.xml
@@ -91,18 +91,11 @@ under the License.
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-core</artifactId>
             <scope>provided</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.apache.flink</groupId>
-                    <artifactId>flink-shaded-jackson</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
         </dependency>
 
         <dependency>
@@ -126,7 +119,6 @@ under the License.
         <dependency>
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-shaded-jackson</artifactId>
-            
<version>${flink.shaded.jackson.version}-${flink.shaded.version}</version>
             <scope>provided</scope>
         </dependency>
 
@@ -157,34 +149,29 @@ under the License.
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
-            <version>${lombok.version}</version>
             <scope>provided</scope>
         </dependency>
 
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
-            <version>1.3.9</version>
             <scope>provided</scope>
         </dependency>
 
         <dependency>
             <groupId>io.vavr</groupId>
             <artifactId>vavr</artifactId>
-            <version>0.10.2</version>
             <scope>compile</scope>
         </dependency>
 
         <dependency>
             <groupId>io.github.resilience4j</groupId>
             <artifactId>resilience4j-retry</artifactId>
-            <version>${resilence4j.version}</version>
         </dependency>
 
         <dependency>
             <groupId>io.github.resilience4j</groupId>
             <artifactId>resilience4j-core</artifactId>
-            <version>${resilence4j.version}</version>
         </dependency>
 
         <!--http table factory testing -->
@@ -210,32 +197,23 @@ under the License.
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-junit-jupiter</artifactId>
-            <version>${mockito.version}</version>
             <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
-            <version>${mockito.version}</version>
             <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-inline</artifactId>
-            <version>${mockito-inline.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-clients</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.apache.flink</groupId>
-                    <artifactId>flink-shaded-jackson</artifactId>
-                </exclusion>
-            </exclusions>
             <scope>test</scope>
         </dependency>
 
@@ -257,32 +235,23 @@ under the License.
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-streaming-java</artifactId>
             <scope>provided</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.apache.flink</groupId>
-                    <artifactId>flink-shaded-jackson</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>
             <groupId>org.assertj</groupId>
             <artifactId>assertj-core</artifactId>
-            <version>${assertj.core.version}</version>
             <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
-            <version>${junit5.version}</version>
             <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
-            <version>${junit5.version}</version>
             <scope>test</scope>
         </dependency>
 
@@ -290,18 +259,11 @@ under the License.
             <groupId>org.apache.flink</groupId>
             
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
             <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>-org.scala-lang</groupId>
-                    <artifactId>scala-library</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>
             <groupId>net.minidev</groupId>
             <artifactId>json-smart</artifactId>
-            <version>2.5.2</version>
             <scope>test</scope>
         </dependency>
 
@@ -314,20 +276,12 @@ under the License.
         <dependency>
             <groupId>net.javacrumbs.json-unit</groupId>
             <artifactId>json-unit-core</artifactId>
-            <version>2.40.1</version>
             <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.hamcrest</groupId>
-                    <artifactId>hamcrest-core</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>
             <groupId> com.google.guava</groupId>
             <artifactId>guava</artifactId>
-            <version>32.0.1-jre</version>
             <scope>test</scope>
         </dependency>
     </dependencies>
@@ -337,7 +291,6 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>3.0.0-M5</version>
                 <configuration>
                     <!-- enables TCP/IP communication between surefire and 
forked JVM-->
                     <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
@@ -416,7 +369,6 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
-                <version>3.7.1</version>
                 <executions>
                     <execution>
                         <id>analyze-deps</id>
diff --git a/flink-sql-connector-http/pom.xml b/flink-sql-connector-http/pom.xml
index 3992cb4..eb29611 100644
--- a/flink-sql-connector-http/pom.xml
+++ b/flink-sql-connector-http/pom.xml
@@ -47,23 +47,11 @@ under the License.
         <dependency>
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-test-utils</artifactId>
-            <version>${flink.version}</version>
             <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.xerial.snappy</groupId>
-                    <artifactId>snappy-java</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.apache.commons</groupId>
-                    <artifactId>commons-lang3</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
-            <version>${junit5.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/pom.xml b/pom.xml
index 8ecc251..593940f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,51 +57,66 @@ under the License.
     </scm>
 
     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
+        <!-- Flink versions -->
         <!-- IMPORTANT: If you update Flink, remember to update link to its 
docs in maven-javadoc-plugin <links>
              section, omitting the patch part (so for 1.15.0 use 1.15).
-             TODO is this still valid in Flink connector.
-             -->
-
+             TODO is this still valid in Flink connector. -->
         <flink.version>1.20.0</flink.version>
-        <flink.shaded.version>20.0</flink.shaded.version>
         <flink.shaded.jackson.version>2.18.2</flink.shaded.jackson.version>
+        <flink.shaded.version>20.0</flink.shaded.version>
+        
<flink.parent.artifactId>flink-connector-http-parent</flink.parent.artifactId>
+
+        <!-- Compiler versions -->
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <target.java.version>11</target.java.version>
         <scala.binary.version>2.12</scala.binary.version>
-        <scala-library.version>2.12.17</scala-library.version>
         <maven.compiler.source>${target.java.version}</maven.compiler.source>
         <maven.compiler.target>${target.java.version}</maven.compiler.target>
-        <lombok.version>1.18.38</lombok.version>
+
+        <!-- 3rd party versions -->
+        <assertj.core.version>3.27.7</assertj.core.version>
+        <!-- explicitly include a java 21 supporting version of byte buddy -->
+        <bytebuddy.version>1.14.17</bytebuddy.version>
+        <guava.version>27.0-jre</guava.version>
+        <guava.test.version>32.0.1-jre</guava.test.version>
         <jackson.version>2.18.1</jackson.version>
+        <json-smart.version>2.5.2</json-smart.version>
+        <json-unit-core.version>2.40.1</json-unit-core.version>
+        <jsr305.version>1.3.9</jsr305.version>
         <junit5.version>5.10.1</junit5.version>
         <junit.jupiter.version>${junit5.version}</junit.jupiter.version>
-        <assertj.core.version>3.27.7</assertj.core.version>
-        
<flink.parent.artifactId>flink-connector-http-parent</flink.parent.artifactId>
+        <lombok.version>1.18.38</lombok.version>
         <!-- TODO remove mockito dependency 4.6.1 use level that supports java 
21-->
         <mockito.version>5.2.0</mockito.version>
         <mockito-inline.version>5.2.0</mockito-inline.version>
-        <!-- explicitly include a java 21 supporting version of byte buddy -->
-        <bytebuddy.version>1.14.17</bytebuddy.version>
-        <wiremock.version>3.13.2</wiremock.version>
-        <maven.shade.plugin.version>3.1.1</maven.shade.plugin.version>
         <resilence4j.version>1.7.1</resilence4j.version>
-        <japicmp.skip>false</japicmp.skip>
-        <japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
+        <scala-library.version>2.12.19</scala-library.version>
+        <scala-reflect.version>2.12.19</scala-reflect.version>
+        <vavr.version>0.10.2</vavr.version>
+        <wiremock.version>3.13.2</wiremock.version>
+
         <!-- to match flink's level -->
         <slf4j.version>1.7.36</slf4j.version>
-        <!-- can be removed with maven-spotless-plugin:2.38+ -->
-        <spotless.skip>false</spotless.skip>
-        <scala-reflect.version>2.12.19</scala-reflect.version>
-        <scala-library.version>2.12.19</scala-library.version>
+
+        <!-- Plugin versions -->
+        <japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
+        <japicmp.skip>false</japicmp.skip>
+        
<maven.dependency.plugin.version>3.7.1</maven.dependency.plugin.version>
+        <maven.shade.plugin.version>3.1.1</maven.shade.plugin.version>
+        <maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
+
+        <!-- Config args -->
         <!-- This property should contain the add-opens/add-exports commands 
required for the tests
- in the given connector's module to pass.
- It MUST be a space-separated list not containing any newlines,
- of entries in the form 
'[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'.-->
+             in the given connector's module to pass.
+             It MUST be a space-separated list not containing any newlines,
+             of entries in the form 
'[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'. -->
         <flink.connector.module.config/>
         <flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m 
-XX:+IgnoreUnrecognizedVMOptions
             ${flink.connector.module.config}
         </flink.surefire.baseArgLine>
+        <!-- can be removed with maven-spotless-plugin:2.38+ -->
+        <spotless.skip>false</spotless.skip>
     </properties>
 
     <repositories>
@@ -164,6 +179,13 @@ under the License.
             <groupId>org.apache.flink</groupId>
             <artifactId>flink-clients</artifactId>
             <version>${flink.version}</version>
+            <!--exclusion required to pass convergence check in CI -->
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.flink</groupId>
+                    <artifactId>flink-shaded-jackson</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
@@ -176,6 +198,10 @@ under the License.
                     <groupId>org.apache.commons</groupId>
                     <artifactId>commons-lang3</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.flink</groupId>
+                    <artifactId>flink-shaded-jackson</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
 
@@ -233,14 +259,14 @@ under the License.
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
-            <version>1.3.9</version>
+            <version>${jsr305.version}</version>
         </dependency>
 
         <!-- direct dependencies -->
         <dependency>
             <groupId>io.vavr</groupId>
             <artifactId>vavr</artifactId>
-            <version>0.10.2</version>
+            <version>${vavr.version}</version>
             <scope>compile</scope>
         </dependency>
 
@@ -295,6 +321,23 @@ under the License.
             <scope>test</scope>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-test-utils</artifactId>
+            <version>${flink.version}</version>
+            <!--exclusion required to pass convergence check in CI -->
+            <exclusions>
+                <exclusion>
+                    <groupId>org.xerial.snappy</groupId>
+                    <artifactId>snappy-java</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.commons</groupId>
+                    <artifactId>commons-lang3</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
         <!-- brings in junit 5.10.1 which mismatches our junit so we need to 
exclude it-->
         <dependency>
             <groupId>org.apache.flink</groupId>
@@ -331,6 +374,13 @@ under the License.
             <artifactId>flink-streaming-java</artifactId>
             <version>${flink.version}</version>
             <scope>provided</scope>
+            <!--exclusion required to pass convergence check in CI -->
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.flink</groupId>
+                    <artifactId>flink-shaded-jackson</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
@@ -361,13 +411,19 @@ under the License.
         <dependency>
             <groupId> com.google.guava</groupId>
             <artifactId>guava</artifactId>
-            <version>27.0-jre</version>
+            <version>${guava.test.version}</version>
         </dependency>
 
         <dependency>
             <groupId>net.minidev</groupId>
             <artifactId>json-smart</artifactId>
-            <version>2.5.2</version>
+            <version>${json-smart.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-shaded-jackson</artifactId>
+            
<version>${flink.shaded.jackson.version}-${flink.shaded.version}</version>
         </dependency>
 
         <dependency>
@@ -459,7 +515,19 @@ under the License.
                     <artifactId>json-schema-validator</artifactId>
                 </exclusion>
             </exclusions>
+        </dependency>
 
+        <dependency>
+            <groupId>net.javacrumbs.json-unit</groupId>
+            <artifactId>json-unit-core</artifactId>
+            <version>${json-unit-core.version}</version>
+            <!--exclusion required to pass convergence check in CI -->
+            <exclusions>
+                <exclusion>
+                    <groupId>org.hamcrest</groupId>
+                    <artifactId>hamcrest-core</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
     </dependencies>
     </dependencyManagement>
@@ -482,7 +550,7 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>3.0.0-M5</version>
+                <version>${maven.surefire.plugin.version}</version>
                 <configuration>
                     <!-- enables TCP/IP communication between surefire and 
forked JVM-->
                     <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
@@ -568,7 +636,7 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
-                <version>3.7.1</version>
+                <version>${maven.dependency.plugin.version}</version>
                 <executions>
                     <execution>
                         <id>analyze-deps</id>

Reply via email to