summaryrefslogtreecommitdiffstats
path: root/zkfacade
diff options
context:
space:
mode:
Diffstat (limited to 'zkfacade')
-rw-r--r--zkfacade/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/zkfacade/pom.xml b/zkfacade/pom.xml
index 6e46fe35801..b8f74335336 100644
--- a/zkfacade/pom.xml
+++ b/zkfacade/pom.xml
@@ -76,7 +76,12 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
+ <!-- Turn off classfile warnings where spotbugs is pulled in transitively. -->
<arg>-Xlint:all</arg>
+ <arg>-Xlint:-classfile</arg>
+ <arg>-Xlint:-serial</arg>
+ <arg>-Xlint:-try</arg>
+ <arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>