diff --git a/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/pom.xml b/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/pom.xml
index 4e0f17db0f5a..41cc43486d84 100644
--- a/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/pom.xml
+++ b/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/pom.xml
@@ -83,8 +83,7 @@
maven-compiler-plugin
${maven.compiler.plugin.version}
- 1.8
- 1.8
+ 11
-Xlint:deprecation
-Xlint:unchecked
diff --git a/deps/rabbitmq_stream_management/test/http_SUITE_data/pom.xml b/deps/rabbitmq_stream_management/test/http_SUITE_data/pom.xml
index b1c0b52ac438..da3a0c25c986 100644
--- a/deps/rabbitmq_stream_management/test/http_SUITE_data/pom.xml
+++ b/deps/rabbitmq_stream_management/test/http_SUITE_data/pom.xml
@@ -99,8 +99,7 @@
maven-compiler-plugin
${maven.compiler.plugin.version}
- 1.8
- 1.8
+ 11
-Xlint:deprecation
-Xlint:unchecked