aboutsummaryrefslogtreecommitdiffstats
path: root/zkfacade
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-04-08 16:54:27 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2024-04-08 18:29:33 +0200
commit6bb907b40f97a78e7e1529110abbf85f9f7d8828 (patch)
treeb127a45dc862e50e013557472368584869246292 /zkfacade
parent82966e62b9de3b344a633a2e0c41929ffe173282 (diff)
Turn off classfile warnings where zookeeper is pulled in due to issues with spotbugs SuppressWarning annotation.
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>