example enable-preview in mojo

This commit is contained in:
Jonathan Shook 2020-05-05 01:10:36 -05:00
parent f85c86d5a5
commit 98ec074799

View File

@ -490,6 +490,9 @@
<release>${java.target.version}</release> <release>${java.target.version}</release>
<source>${java.target.version}</source> <source>${java.target.version}</source>
<target>${java.target.version}</target> <target>${java.target.version}</target>
<!-- <compilerArgs>-->
<!-- &#45;&#45;enable-preview-->
<!-- </compilerArgs>-->
<!--<compilerArgument>-Xdoclint:all</compilerArgument>--> <!--<compilerArgument>-Xdoclint:all</compilerArgument>-->
<!-- <compilerArgument>-Xlint:all</compilerArgument>--> <!-- <compilerArgument>-Xlint:all</compilerArgument>-->
</configuration> </configuration>
@ -499,6 +502,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<!-- <argLine>&#45;&#45;enable-preview</argLine>-->
<excludes> <excludes>
<exclude>**/*Integrated*Test*.java</exclude> <exclude>**/*Integrated*Test*.java</exclude>
<exclude>**/*IntegrationTest.java</exclude> <exclude>**/*IntegrationTest.java</exclude>
@ -525,6 +529,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<!-- <argLine>&#45;&#45;enable-preview</argLine>-->
<forkMode>always</forkMode> <forkMode>always</forkMode>
<includes> <includes>
<include>**/*Integrated*Test*.java</include> <include>**/*Integrated*Test*.java</include>