aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--container-core/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/container-core/pom.xml b/container-core/pom.xml
index 0d7ec65a7e2..0331073ed2c 100644
--- a/container-core/pom.xml
+++ b/container-core/pom.xml
@@ -445,7 +445,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <compilerArgs>--enable-preview
+ <compilerArgs>
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-rawtypes</arg>
+ <arg>-Xlint:-unchecked</arg>
<arg>-Xlint:-serial</arg>
<arg>-Xlint:-try</arg>
<arg>-Werror</arg>