forked from JavaTX/JavaCompilerCore
Set --enable-preview for maven compile and test
This commit is contained in:
parent
a8012a3ea6
commit
761e693984
10
pom.xml
10
pom.xml
@ -57,6 +57,16 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<compilerArgs>
|
||||
--enable-preview
|
||||
</compilerArgs>
|
||||
<source>19</source>
|
||||
<target>19</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.22.2</version>
|
||||
<configuration>
|
||||
<argLine>--enable-preview</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user