Skip to content

Commit 2ef3318

Browse files
committed
Set release level to 21
Signed-off-by: Lukas Jungmann <[email protected]>
1 parent 67e0caa commit 2ef3318

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

Diff for: api/pom.xml

+2-25
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
<extension.name>jakarta.annotation</extension.name>
9898
<vendor.name>Eclipse Foundation</vendor.name>
9999
<implementation.vendor.id>org.glassfish</implementation.vendor.id>
100+
101+
<maven.compiler.release>21</maven.compiler.release>
100102
</properties>
101103

102104
<build>
@@ -195,14 +197,6 @@
195197
<!-- check that year is correct -->
196198
<ignoreYear>${copyright.ignoreyear}</ignoreYear>
197199
</configuration>
198-
<executions>
199-
<execution>
200-
<phase>validate</phase>
201-
<goals>
202-
<goal>check</goal>
203-
</goals>
204-
</execution>
205-
</executions>
206200
</plugin>
207201
<plugin>
208202
<groupId>org.codehaus.mojo</groupId>
@@ -233,25 +227,10 @@
233227
<groupId>org.apache.maven.plugins</groupId>
234228
<artifactId>maven-compiler-plugin</artifactId>
235229
<configuration>
236-
<release>9</release>
237230
<compilerArgs>
238231
<arg>-Xlint:all</arg>
239232
</compilerArgs>
240233
</configuration>
241-
<executions>
242-
<execution>
243-
<id>base-compile</id>
244-
<goals>
245-
<goal>compile</goal>
246-
</goals>
247-
<configuration>
248-
<release>8</release>
249-
<excludes>
250-
<exclude>module-info.java</exclude>
251-
</excludes>
252-
</configuration>
253-
</execution>
254-
</executions>
255234
</plugin>
256235
<plugin>
257236
<groupId>org.glassfish.build</groupId>
@@ -340,7 +319,6 @@
340319
<addDefaultEntries>false</addDefaultEntries>
341320
</manifest>
342321
</archive>
343-
<release>11</release>
344322
<additionalOptions>--add-modules java.sql</additionalOptions>
345323
<notimestamp>true</notimestamp>
346324
<nosince>true</nosince>
@@ -359,7 +337,6 @@
359337
<configuration>
360338
<skip>${spotbugs.skip}</skip>
361339
<threshold>${spotbugs.threshold}</threshold>
362-
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
363340
<fork>true</fork>
364341
</configuration>
365342
</plugin>

0 commit comments

Comments
 (0)