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 df669c560482..99c0933999b2 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 fecb29b37745..e3284121ac54 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