@@ -90,9 +90,11 @@ under the License.
90
90
<junit .jupiter.version>${junit5.version} </junit .jupiter.version>
91
91
<assertj .core.version>3.23.1</assertj .core.version>
92
92
<flink .parent.artifactId>flink-connector-http-parent</flink .parent.artifactId>
93
- <!-- TODO remove mockito dependency -->
94
- <mockito .version>4.6.1</mockito .version>
95
- <mockito-inline .version>4.6.1</mockito-inline .version>
93
+ <!-- TODO remove mockito dependency 4.6.1 use level that supports java 21-->
94
+ <mockito .version>5.2.0</mockito .version>
95
+ <mockito-inline .version>5.2.0</mockito-inline .version>
96
+ <!-- explicitly include a java 21 supporting version of byte buddy -->
97
+ <bytebuddy .version>1.14.17</bytebuddy .version>
96
98
<wiremock .version>2.27.2</wiremock .version>
97
99
<maven .shade.plugin.version>3.1.1</maven .shade.plugin.version>
98
100
<resilence4j .version>1.7.1</resilence4j .version>
@@ -163,12 +165,7 @@ under the License.
163
165
<artifactId >flink-table-planner_${scala.binary.version}</artifactId >
164
166
<version >${flink.version} </version >
165
167
</dependency >
166
- <!-- <dependency>-->
167
- <!-- <groupId>org.apache.flink</groupId>-->
168
- <!-- <artifactId>flink-table-planner_${scala.binary.version}</artifactId>-->
169
- <!-- <version>${flink.version}</version>-->
170
- <!-- <type>test-jar</type>-->
171
- <!-- </dependency>-->
168
+
172
169
<dependency >
173
170
<groupId >org.scala-lang</groupId >
174
171
<artifactId >scala-library</artifactId >
@@ -251,25 +248,6 @@ under the License.
251
248
<version >1.3.9</version >
252
249
</dependency >
253
250
254
- <!-- For dependency convergence -->
255
- <!-- <dependency>-->
256
- <!-- <groupId>com.fasterxml.jackson</groupId>-->
257
- <!-- <artifactId>jackson-bom</artifactId>-->
258
- <!-- <type>pom</type>-->
259
- <!-- <scope>import</scope>-->
260
- <!-- <version>${jackson-bom.version}</version>-->
261
- <!-- </dependency>-->
262
-
263
- <!-- For dependency convergence -->
264
- <!-- <dependency>-->
265
- <!-- <groupId>org.junit</groupId>-->
266
- <!-- <artifactId>junit-bom</artifactId>-->
267
- <!-- <version>${junit5.version}</version>-->
268
- <!-- <type>pom</type>-->
269
- <!-- <scope>import</scope>-->
270
- <!-- <optional>true</optional>-->
271
- <!-- </dependency>-->
272
-
273
251
<!-- direct dependencies -->
274
252
<dependency >
275
253
<groupId >io.vavr</groupId >
@@ -352,6 +330,11 @@ under the License.
352
330
<groupId >org.apache.commons</groupId >
353
331
<artifactId >commons-compress</artifactId >
354
332
</exclusion >
333
+ <!-- exclude low version of byte buddy that dies not support java 21 -->
334
+ <exclusion >
335
+ <groupId >net.bytebuddy</groupId >
336
+ <artifactId >byte-buddy</artifactId >
337
+ </exclusion >
355
338
</exclusions >
356
339
</dependency >
357
340
@@ -366,6 +349,43 @@ under the License.
366
349
<groupId >org.assertj</groupId >
367
350
<artifactId >assertj-core</artifactId >
368
351
<version >${assertj.core.version} </version >
352
+ <!-- exclude low version of byte buddy that does not support java 21 -->
353
+ <exclusions >
354
+ <exclusion >
355
+ <groupId >net.bytebuddy</groupId >
356
+ <artifactId >byte-buddy</artifactId >
357
+ </exclusion >
358
+ </exclusions >
359
+ </dependency >
360
+
361
+ <dependency >
362
+ <groupId >org.junit.jupiter</groupId >
363
+ <artifactId >junit-jupiter-api</artifactId >
364
+ <version >${junit5.version} </version >
365
+ </dependency >
366
+
367
+ <dependency >
368
+ <groupId >org.junit.jupiter</groupId >
369
+ <artifactId >junit-jupiter-params</artifactId >
370
+ <version >${junit5.version} </version >
371
+ </dependency >
372
+
373
+ <dependency >
374
+ <groupId > com.google.guava</groupId >
375
+ <artifactId >guava</artifactId >
376
+ <version >27.0-jre</version >
377
+ </dependency >
378
+
379
+ <dependency >
380
+ <groupId >net.minidev</groupId >
381
+ <artifactId >json-smart</artifactId >
382
+ <version >2.5.2</version >
383
+ </dependency >
384
+
385
+ <dependency >
386
+ <groupId >net.bytebuddy</groupId >
387
+ <artifactId >byte-buddy</artifactId >
388
+ <version >${bytebuddy.version} </version >
369
389
</dependency >
370
390
371
391
<dependency >
@@ -378,6 +398,10 @@ under the License.
378
398
<groupId >org.junit.jupiter</groupId >
379
399
<artifactId >junit-jupiter-api</artifactId >
380
400
</exclusion >
401
+ <exclusion >
402
+ <groupId >net.bytebuddy</groupId >
403
+ <artifactId >byte-buddy</artifactId >
404
+ </exclusion >
381
405
</exclusions >
382
406
</dependency >
383
407
@@ -400,30 +424,6 @@ under the License.
400
424
<version >${mockito-inline.version} </version >
401
425
</dependency >
402
426
403
- <dependency >
404
- <groupId >org.junit.jupiter</groupId >
405
- <artifactId >junit-jupiter-api</artifactId >
406
- <version >${junit5.version} </version >
407
- </dependency >
408
-
409
- <dependency >
410
- <groupId >org.junit.jupiter</groupId >
411
- <artifactId >junit-jupiter-params</artifactId >
412
- <version >${junit5.version} </version >
413
- </dependency >
414
-
415
- <dependency >
416
- <groupId > com.google.guava</groupId >
417
- <artifactId >guava</artifactId >
418
- <version >27.0-jre</version >
419
- </dependency >
420
-
421
- <dependency >
422
- <groupId >net.minidev</groupId >
423
- <artifactId >json-smart</artifactId >
424
- <version >2.5.2</version >
425
- </dependency >
426
-
427
427
<dependency >
428
428
<groupId >com.github.tomakehurst</groupId >
429
429
<artifactId >wiremock</artifactId >
0 commit comments