Skip to content

Commit 37aa424

Browse files
committed
java-23 maven config
1 parent 93995b8 commit 37aa424

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

java-23/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,22 @@
1111

1212
<artifactId>java-23</artifactId>
1313

14+
<properties>
15+
<maven.compiler.source>23</maven.compiler.source>
16+
<maven.compiler.target>23</maven.compiler.target>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
</properties>
19+
<build>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.apache.maven.plugins</groupId>
23+
<artifactId>maven-compiler-plugin</artifactId>
24+
<configuration>
25+
<compilerArgs>--enable-preview</compilerArgs>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
30+
1431

1532
</project>

0 commit comments

Comments
 (0)