Skip to content

Commit 957ee8d

Browse files
tomncooperfapaul
authored andcommitted
[FLINK-38063] Update dependencies
* Refactor version properties in root pom so all version are at the top of the file * Update scala libs to 2.12.20 * Update avro lib to 1.12.0 * Update commons-cli to 1.9.0 * Update commons-codec to 1.18.0 * Update commons-compress to 1.27.1 * Update commons-io to 2.19.0 * Update commons-lang3 to 3.18.0 * Update to guava 33.4.8 * Update httpcore to 4.4.16 * Update httpclient to 4.5.14 * Update to maven dependency plugin 3.8.1 * Update to javassit 3.30.2 * Update to kryo 5.6.2 * Update log4j to 2.25.0 * Update objenesis to 3.4 * Update snakeyaml to 2.4 * Update snappy to 1.1.10.7 * Update jackson bom to 2.18.2 * Update archunit to 1.4.1 * Update assertj to 3.27.3 * Update docker-java-api to 3.5.2 * Update junit5 to 5.13.3 * Update mockito to 5.18.0 Signed-off-by: Thomas Cooper <[email protected]>
1 parent ccccaa8 commit 957ee8d

File tree

2 files changed

+59
-43
lines changed

2 files changed

+59
-43
lines changed

flink-connector-kafka/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ under the License.
239239
<dependency>
240240
<groupId>org.yaml</groupId>
241241
<artifactId>snakeyaml</artifactId>
242-
<version>2.2</version>
243242
<scope>test</scope>
244243
</dependency>
245244

pom.xml

Lines changed: 59 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -49,47 +49,64 @@ under the License.
4949
</modules>
5050

5151
<properties>
52+
<flink.parent.artifactId>flink-connector-kafka-parent</flink.parent.artifactId>
53+
54+
<!-- Main Dependencies -->
55+
<confluent.version>7.9.2</confluent.version>
5256
<flink.version>2.0.0</flink.version>
5357
<kafka.version>3.9.1</kafka.version>
54-
<confluent.version>7.9.2</confluent.version>
5558

56-
<jackson-bom.version>2.16.2</jackson-bom.version>
57-
<junit4.version>4.13.2</junit4.version>
58-
<junit5.version>5.9.1</junit5.version>
59-
<assertj.version>3.23.1</assertj.version>
60-
<testcontainers.version>1.21.2</testcontainers.version>
61-
<mockito.version>3.4.6</mockito.version>
62-
<powermock.version>2.0.9</powermock.version>
63-
<hamcrest.version>1.3</hamcrest.version>
59+
<!-- Other Dependencies -->
60+
<avro.version>1.12.0</avro.version>
6461
<byte-buddy.version>1.12.10</byte-buddy.version>
65-
<commons-cli.version>1.5.0</commons-cli.version>
62+
<commons-cli.version>1.9.0</commons-cli.version>
63+
<commons-codec.version>1.18.0</commons-codec.version>
64+
<commons-compress.version>1.27.1</commons-compress.version>
65+
<commons-io.version>2.19.0</commons-io.version>
66+
<commons-lang3.version>3.18.0</commons-lang3.version>
67+
<httpcore.version>4.4.16</httpcore.version>
68+
<httpclient.version>4.5.14</httpclient.version>
69+
<jackson-bom.version>2.18.2</jackson-bom.version>
70+
<javassist.version>3.30.2-GA</javassist.version>
71+
<jsr305.version>1.3.9</jsr305.version>
72+
<kryo.version>5.6.2</kryo.version>
73+
<log4j.version>2.25.0</log4j.version>
74+
<objenesis.version>3.4</objenesis.version>
6675
<scala.binary.version>2.12</scala.binary.version>
67-
<scala-reflect.version>2.12.19</scala-reflect.version>
68-
<scala-library.version>2.12.19</scala-library.version>
69-
<snappy-java.version>1.1.10.5</snappy-java.version>
70-
<avro.version>1.11.4</avro.version>
71-
<guava.version>32.1.2-jre</guava.version>
72-
73-
<japicmp.skip>false</japicmp.skip>
74-
<japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
75-
76+
<scala-library.version>${scala.binary.version}.20</scala-library.version>
77+
<scala-reflect.version>${scala.binary.version}.20</scala-reflect.version>
7678
<slf4j.version>1.7.36</slf4j.version>
77-
<log4j.version>2.17.1</log4j.version>
79+
<snakeyaml.version>2.4</snakeyaml.version>
80+
<snappy-java.version>1.1.10.7</snappy-java.version>
81+
82+
<!-- Test Dependencies -->
83+
<archunit.version>1.4.1</archunit.version>
84+
<assertj.version>3.27.3</assertj.version>
85+
<docker-java-api.version>3.5.2</docker-java-api.version>
86+
<guava.version>33.4.8-jre</guava.version>
87+
<hamcrest.version>1.3</hamcrest.version>
88+
<junit4.version>4.13.2</junit4.version>
89+
<junit5.version>5.13.3</junit5.version>
90+
<mockito.version>5.18.0</mockito.version>
91+
<powermock.version>2.0.9</powermock.version>
92+
<snakeyaml.version>2.4</snakeyaml.version>
93+
<testcontainers.version>1.21.3</testcontainers.version>
7894

79-
<flink.parent.artifactId>flink-connector-kafka-parent</flink.parent.artifactId>
95+
<!-- Plugins -->
96+
<japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>
97+
<japicmp.skip>false</japicmp.skip>
98+
<maven.dependency.plugin.version>3.8.1</maven.dependency.plugin.version>
8099

81100
<!-- This property should contain the add-opens/add-exports commands required for the tests
82-
in the given connector's module to pass.
83-
It MUST be a space-separated list not containing any newlines,
84-
of entries in the form '[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'.-->
101+
in the given connector's module to pass.
102+
It MUST be a space-separated list not containing any newlines,
103+
of entries in the form '[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'.-->
85104
<flink.connector.module.config/>
86105
<flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions
87-
${flink.connector.module.config}
106+
${flink.connector.module.config}
88107
</flink.surefire.baseArgLine>
89108
</properties>
90109

91-
<!-- This section defines the module versions that are used if nothing else is specified. -->
92-
93110
<dependencyManagement>
94111

95112
<dependencies>
@@ -290,7 +307,7 @@ under the License.
290307
<dependency>
291308
<groupId>org.javassist</groupId>
292309
<artifactId>javassist</artifactId>
293-
<version>3.27.0-GA</version>
310+
<version>${javassist.version}</version>
294311
</dependency>
295312

296313
<dependency>
@@ -302,7 +319,7 @@ under the License.
302319
<dependency>
303320
<groupId>org.apache.commons</groupId>
304321
<artifactId>commons-lang3</artifactId>
305-
<version>3.3.2</version>
322+
<version>${commons-lang3.version}</version>
306323
</dependency>
307324

308325
<dependency>
@@ -340,12 +357,12 @@ under the License.
340357
<dependency>
341358
<groupId>com.tngtech.archunit</groupId>
342359
<artifactId>archunit</artifactId>
343-
<version>1.2.0</version>
360+
<version>${archunit.version}</version>
344361
</dependency>
345362
<dependency>
346363
<groupId>com.tngtech.archunit</groupId>
347364
<artifactId>archunit-junit5-api</artifactId>
348-
<version>1.2.0</version>
365+
<version>${archunit.version}</version>
349366
</dependency>
350367

351368
<dependency>
@@ -368,25 +385,25 @@ under the License.
368385
<dependency>
369386
<groupId>com.google.code.findbugs</groupId>
370387
<artifactId>jsr305</artifactId>
371-
<version>1.3.9</version>
388+
<version>${jsr305.version}</version>
372389
</dependency>
373390

374391
<dependency>
375392
<groupId>commons-codec</groupId>
376393
<artifactId>commons-codec</artifactId>
377-
<version>1.15</version>
394+
<version>${commons-codec.version}</version>
378395
</dependency>
379396

380397
<dependency>
381398
<groupId>org.apache.httpcomponents</groupId>
382399
<artifactId>httpcore</artifactId>
383-
<version>4.4.14</version>
400+
<version>${httpcore.version}</version>
384401
</dependency>
385402

386403
<dependency>
387404
<groupId>org.apache.httpcomponents</groupId>
388405
<artifactId>httpclient</artifactId>
389-
<version>4.5.13</version>
406+
<version>${httpclient.version}</version>
390407
</dependency>
391408

392409
<dependency>
@@ -457,35 +474,35 @@ under the License.
457474
<dependency>
458475
<groupId>com.esotericsoftware.kryo</groupId>
459476
<artifactId>kryo</artifactId>
460-
<version>2.24.0</version>
477+
<version>${kryo.version}</version>
461478
</dependency>
462479

463480
<!-- For dependency convergence -->
464481
<dependency>
465482
<groupId>org.objenesis</groupId>
466483
<artifactId>objenesis</artifactId>
467-
<version>2.1</version>
484+
<version>${objenesis.version}</version>
468485
</dependency>
469486

470487
<!-- For dependency convergence -->
471488
<dependency>
472489
<groupId>org.yaml</groupId>
473490
<artifactId>snakeyaml</artifactId>
474-
<version>2.2</version>
491+
<version>${snakeyaml.version}</version>
475492
</dependency>
476493

477494
<!-- For dependency convergence -->
478495
<dependency>
479496
<groupId>org.apache.commons</groupId>
480497
<artifactId>commons-compress</artifactId>
481-
<version>1.26.1</version>
498+
<version>${commons-compress.version}</version>
482499
</dependency>
483500

484501
<!-- For dependency convergence -->
485502
<dependency>
486503
<groupId>commons-io</groupId>
487504
<artifactId>commons-io</artifactId>
488-
<version>2.15.1</version>
505+
<version>${commons-io.version}</version>
489506
</dependency>
490507

491508
<dependency>
@@ -499,7 +516,7 @@ under the License.
499516
<dependency>
500517
<groupId>com.github.docker-java</groupId>
501518
<artifactId>docker-java-api</artifactId>
502-
<version>3.5.1</version>
519+
<version>${docker-java-api.version}</version>
503520
</dependency>
504521

505522
<dependency>
@@ -587,7 +604,7 @@ under the License.
587604
<plugin>
588605
<groupId>org.apache.maven.plugins</groupId>
589606
<artifactId>maven-dependency-plugin</artifactId>
590-
<version>3.7.1</version>
607+
<version>${maven.dependency.plugin.version}</version>
591608
<executions>
592609
<execution>
593610
<id>analyze-deps</id>

0 commit comments

Comments
 (0)