Skip to content

Commit c175996

Browse files
committed
Try to untangle JDK-profile mess wrt 14, 18
1 parent 66ac874 commit c175996

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

pom.xml

+7-8
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,9 @@
218218
</profile>
219219
<!-- 07-Dec-2021, tatu: This is a huge mess, sorry folks... -->
220220
<profile>
221-
<!-- Build Record tests using Java 14 if JDK is available -->
222-
<id>java14-15</id>
221+
<id>java14</id>
223222
<activation>
224-
<jdk>[14,15]</jdk>
223+
<jdk>14</jdk>
225224
</activation>
226225
<build>
227226
<plugins>
@@ -269,10 +268,10 @@
269268
</build>
270269
</profile>
271270
<profile>
272-
<!-- And different set up for JDK 16+ -->
273-
<id>java16+</id>
271+
<!-- And different set up for JDK 17 -->
272+
<id>java17</id>
274273
<activation>
275-
<jdk>[16,)</jdk>
274+
<jdk>17</jdk>
276275
</activation>
277276
<build>
278277
<plugins>
@@ -301,8 +300,8 @@
301300
<configuration>
302301
<optimize>true</optimize>
303302
<!-- Enable Java 17 for all sources so that Intellij picks the right language level -->
304-
<source>16</source>
305-
<release>16</release>
303+
<source>17</source>
304+
<release>17</release>
306305
<compilerArgs>
307306
<arg>-parameters</arg>
308307
</compilerArgs>

0 commit comments

Comments
 (0)