Skip to content

Commit

Permalink
Set release level to 21
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Oct 26, 2023
1 parent 67e0caa commit 2ef3318
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
<extension.name>jakarta.annotation</extension.name>
<vendor.name>Eclipse Foundation</vendor.name>
<implementation.vendor.id>org.glassfish</implementation.vendor.id>

<maven.compiler.release>21</maven.compiler.release>
</properties>

<build>
Expand Down Expand Up @@ -195,14 +197,6 @@
<!-- check that year is correct -->
<ignoreYear>${copyright.ignoreyear}</ignoreYear>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -233,25 +227,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>9</release>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
</configuration>
<executions>
<execution>
<id>base-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>8</release>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.glassfish.build</groupId>
Expand Down Expand Up @@ -340,7 +319,6 @@
<addDefaultEntries>false</addDefaultEntries>
</manifest>
</archive>
<release>11</release>
<additionalOptions>--add-modules java.sql</additionalOptions>
<notimestamp>true</notimestamp>
<nosince>true</nosince>
Expand All @@ -359,7 +337,6 @@
<configuration>
<skip>${spotbugs.skip}</skip>
<threshold>${spotbugs.threshold}</threshold>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<fork>true</fork>
</configuration>
</plugin>
Expand Down

0 comments on commit 2ef3318

Please sign in to comment.