aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a958cec867..b4ee3ccb0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1849,6 +1849,7 @@
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
+ <javacArg>-Xlint:all,-serial,-path</javacArg>
</javacArgs>
</configuration>
</plugin>
@@ -1862,6 +1863,9 @@
<encoding>UTF-8</encoding>
<maxmem>1024m</maxmem>
<fork>true</fork>
+ <compilerArgs>
+ <arg>-Xlint:all,-serial,-path</arg>
+ </compilerArgs>
</configuration>
</plugin>
<!-- Surefire runs all Java tests -->