aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorLi Lin <linl33@users.noreply.github.com>2024-01-22 04:14:05 +0800
committerGitHub <noreply@github.com>2024-01-21 21:14:05 +0100
commitd2639b7ce144ab453e36a36fb6dd3ecf19ed5123 (patch)
tree18f8b57b8a3ce5c5c33327e91702ec9c3d7e9db7 /pom.xml
parent81963f963cc3efcbb1247de233255deb6119aaa5 (diff)
Add linl33's implementation (#503)
* Add linl33's implementation * Update evaluate.sh --------- Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml34
1 files changed, 33 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index a2c91e3..79354bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,7 +83,11 @@
<artifactId>formatter-maven-plugin</artifactId>
<version>2.16.0</version>
<configuration>
- <configFile>etc/eclipse-formatter-config.xml</configFile>
+ <configFile>etc/eclipse-formatter-config.xml</configFile>
+ <directories>
+ <directory>${project.build.sourceDirectory}</directory>
+ <directory>${project.basedir}/src/main/java-22</directory>
+ </directories>
</configuration>
</plugin>
<plugin>
@@ -287,5 +291,33 @@
<skipTests>true</skipTests>
</properties>
</profile>
+ <profile>
+ <id>jdk22</id>
+ <activation>
+ <jdk>22</jdk>
+ </activation>
+ <properties>
+ </properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>22</release>
+ <compileSourceRoots>
+ <compileSourceRoot>${project.basedir}/src/main/java-22</compileSourceRoot>
+ <!--
+ Uncomment the next line to build the entire project with jdk22.
+ Currently, some classes fail to compile under jdk22.
+ -->
+ <!-- <compileSourceRoot>${project.build.sourceDirectory}</compileSourceRoot> -->
+ </compileSourceRoots>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
</profiles>
</project>