aboutsummaryrefslogtreecommitdiffstats
path: root/zookeeper-server
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 /zookeeper-server
parent82966e62b9de3b344a633a2e0c41929ffe173282 (diff)
Turn off classfile warnings where zookeeper is pulled in due to issues with spotbugs SuppressWarning annotation.
Diffstat (limited to 'zookeeper-server')
-rw-r--r--zookeeper-server/pom.xml6
-rw-r--r--zookeeper-server/zookeeper-server-3.9.2/pom.xml3
-rw-r--r--zookeeper-server/zookeeper-server-common/pom.xml6
-rw-r--r--zookeeper-server/zookeeper-server/pom.xml3
4 files changed, 6 insertions, 12 deletions
diff --git a/zookeeper-server/pom.xml b/zookeeper-server/pom.xml
index b0e320047db..4b7f4be7a7f 100644
--- a/zookeeper-server/pom.xml
+++ b/zookeeper-server/pom.xml
@@ -35,12 +35,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <compilerArgs>
- <arg>-Xlint:all</arg>
- <arg>-Werror</arg>
- </compilerArgs>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/zookeeper-server/zookeeper-server-3.9.2/pom.xml b/zookeeper-server/zookeeper-server-3.9.2/pom.xml
index 25d9cd9432b..791c026234a 100644
--- a/zookeeper-server/zookeeper-server-3.9.2/pom.xml
+++ b/zookeeper-server/zookeeper-server-3.9.2/pom.xml
@@ -74,7 +74,10 @@
<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>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
diff --git a/zookeeper-server/zookeeper-server-common/pom.xml b/zookeeper-server/zookeeper-server-common/pom.xml
index 2238f6ad086..7e53866afb9 100644
--- a/zookeeper-server/zookeeper-server-common/pom.xml
+++ b/zookeeper-server/zookeeper-server-common/pom.xml
@@ -29,12 +29,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <compilerArgs>
- <arg>-Xlint:all</arg>
- <arg>-Werror</arg>
- </compilerArgs>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/zookeeper-server/zookeeper-server/pom.xml b/zookeeper-server/zookeeper-server/pom.xml
index bb4a819b5ac..f1b33dd0ae7 100644
--- a/zookeeper-server/zookeeper-server/pom.xml
+++ b/zookeeper-server/zookeeper-server/pom.xml
@@ -74,7 +74,10 @@
<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>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>