summaryrefslogtreecommitdiffstats
path: root/container-core/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'container-core/pom.xml')
-rw-r--r--container-core/pom.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/container-core/pom.xml b/container-core/pom.xml
index 2b1d2253534..0d7ec65a7e2 100644
--- a/container-core/pom.xml
+++ b/container-core/pom.xml
@@ -445,14 +445,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <compilerArgs>
- <arg>-Xlint:all</arg>
- <arg>-Xlint:-rawtypes</arg>
- <arg>-Xlint:-unchecked</arg>
+ <compilerArgs>--enable-preview
<arg>-Xlint:-serial</arg>
<arg>-Xlint:-try</arg>
<arg>-Werror</arg>
</compilerArgs>
+ <source>17</source>
+ <target>17</target>
</configuration>
</plugin>
<plugin>