diff --git a/pom.xml b/pom.xml
index a01c1b3e32..ebe1704c58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -453,8 +453,9 @@
${target.java.version}
-
-
+
+
+
-Xlint:all,-classfile,-processing,-serial
-Werror
@@ -480,8 +481,9 @@
${target.java.release}
-
-
+
+
+
-Xlint:all,-classfile,-processing,-serial
-Werror
-implicit:class
diff --git a/udfs/beam/pom.xml b/udfs/beam/pom.xml
index 6e59814234..91e86d693c 100644
--- a/udfs/beam/pom.xml
+++ b/udfs/beam/pom.xml
@@ -69,13 +69,6 @@
test
-
- com.esotericsoftware
- kryo
- ${kryo5.version}
- provided
-
-