summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-02-20 13:51:38 +0100
committerHarald Musum <musum@yahooinc.com>2023-02-20 13:51:38 +0100
commitd8105aa86e6bba879ce4fadd2acf6ef56f03f6cc (patch)
tree523de73a4825948a3fdc307b541162bf8f573abb /controller-server
parent232a0fd9f10e6a89de7e51a2f3cf7f406a6d00fe (diff)
Specify Xlint compiler args, unable to get it to work with -Werror
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/controller-server/pom.xml b/controller-server/pom.xml
index 1a8a68be9e0..5618431de91 100644
--- a/controller-server/pom.xml
+++ b/controller-server/pom.xml
@@ -247,6 +247,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgs>
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-serial</arg>
+ <arg>-Xlint:-try</arg>
+ <arg>-Xlint:-processing</arg>
+ </compilerArgs>
+ </configuration>
</plugin>
</plugins>
</build>