Skip to content

Commit b2592b3

Browse files
committed
Manual merge of pom.xml change
1 parent aafc572 commit b2592b3

File tree

1 file changed

+1
-55
lines changed

1 file changed

+1
-55
lines changed

pom.xml

Lines changed: 1 addition & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403
<!-- And different set up for JDK 21 -->
404404
<id>java21</id>
405405
<activation>
406-
<jdk>21</jdk>
406+
<jdk>[21,)</jdk>
407407
</activation>
408408
<build>
409409
<plugins>
@@ -452,60 +452,6 @@
452452
</plugins>
453453
</build>
454454
</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>
509455

510456
<!-- 10-Nov-2020, tatu: Added via [databind#2931] -->
511457
<profile>

0 commit comments

Comments
 (0)