Skip to content

Commit

Permalink
maven.compiler.release 21 in strict-jdk-21 profile
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed May 14, 2024
1 parent 80273b7 commit b7d1e6f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,15 @@
<activation>
<jdk>[21,)</jdk>
</activation>
<properties>
<!--
Since the Xtend compiler generates Java code using new API introduced in Java 21,
so we must increase the release level or the Java compilation would not find the
new API when it compiles the Java code generated by Xtend.
see https://github.com/eclipse/xtext/issues/2686#issuecomment-2038175179
-->
<maven.compiler.release>21</maven.compiler.release>
</properties>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit b7d1e6f

Please sign in to comment.