File tree 1 file changed +1
-55
lines changed
1 file changed +1
-55
lines changed Original file line number Diff line number Diff line change 403
403
<!-- And different set up for JDK 21 -->
404
404
<id >java21</id >
405
405
<activation >
406
- <jdk >21 </jdk >
406
+ <jdk >[21,) </jdk >
407
407
</activation >
408
408
<build >
409
409
<plugins >
452
452
</plugins >
453
453
</build >
454
454
</profile >
455
- <profile >
456
- <!-- And different set up for JDK 22 -->
457
- <id >java22</id >
458
- <activation >
459
- <jdk >22</jdk >
460
- </activation >
461
- <build >
462
- <plugins >
463
- <plugin >
464
- <groupId >org.codehaus.mojo</groupId >
465
- <artifactId >build-helper-maven-plugin</artifactId >
466
- <executions >
467
- <execution >
468
- <id >add-test-source</id >
469
- <phase >generate-test-sources</phase >
470
- <goals >
471
- <goal >add-test-source</goal >
472
- </goals >
473
- <configuration >
474
- <sources >
475
- <source >src/test-jdk11/java</source >
476
- <source >src/test-jdk17/java</source >
477
- <source >src/test-jdk21/java</source >
478
- <source >src/test-jdk22/java</source >
479
- </sources >
480
- </configuration >
481
- </execution >
482
- </executions >
483
- </plugin >
484
- <plugin >
485
- <groupId >org.apache.maven.plugins</groupId >
486
- <artifactId >maven-compiler-plugin</artifactId >
487
- <inherited >true</inherited >
488
- <configuration >
489
- <!-- Enable Java 22 for all sources so that Intellij picks the right language level -->
490
- <source >22</source >
491
- <release >22</release >
492
- <compilerArgs >
493
- <arg >-parameters</arg >
494
- <arg >--add-opens=java.base/java.lang=ALL-UNNAMED</arg >
495
- <arg >--add-opens=java.base/java.util=ALL-UNNAMED</arg >
496
- </compilerArgs >
497
- </configuration >
498
- </plugin >
499
- <plugin >
500
- <groupId >org.apache.maven.plugins</groupId >
501
- <artifactId >maven-surefire-plugin</artifactId >
502
- <configuration >
503
- <argLine >--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine >
504
- </configuration >
505
- </plugin >
506
- </plugins >
507
- </build >
508
- </profile >
509
455
510
456
<!-- 10-Nov-2020, tatu: Added via [databind#2931] -->
511
457
<profile >
You can’t perform that action at this time.
0 commit comments