Skip to content

Commit

Permalink
JDT 3.37.0 in the BOM profile to be activated explicitly
Browse files Browse the repository at this point in the history
The profile must be activated through the system property "java-21"
either on the command line "-Djava-21", or by creating the file
"maven.config" inside the folder ".mvn" at the root of the
project, with the content "-Djava-21"
  • Loading branch information
LorenzoBettini committed May 16, 2024
1 parent 7993912 commit 103079b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Djava-21
14 changes: 13 additions & 1 deletion org.eclipse.xtext.dev-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,21 @@
</build>
</profile>
<profile>
<!--
To be activated explicitly when using Java 21 to get
the latest version of JDT to access Java 21 new features
like Java records.
The profile must be activated through the system property "java-21"
either on the command line "-Djava-21", or by creating the file
"maven.config" inside the folder ".mvn" at the root of the
project, with the content "-Djava-21"
-->
<id>java-21</id>
<activation>
<jdk>[21,)</jdk>
<property>
<name>java-21</name>
</property>
</activation>
<properties>
<!-- This version supports Java 21 but requires Java 17;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Djava-21

0 comments on commit 103079b

Please sign in to comment.