diff --git a/client/trino-client/pom.xml b/client/trino-client/pom.xml
index 9c7a41e5e7d7..24f8af336230 100644
--- a/client/trino-client/pom.xml
+++ b/client/trino-client/pom.xml
@@ -99,6 +99,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-spi
diff --git a/core/trino-server/pom.xml b/core/trino-server/pom.xml
index 60ce1b9ab247..8151dce764d6 100644
--- a/core/trino-server/pom.xml
+++ b/core/trino-server/pom.xml
@@ -25,6 +25,14 @@
${project.artifactId}
+
+
+ io.airlift
+ junit-extensions
+ test
+
+
+
diff --git a/lib/trino-filesystem-gcs/pom.xml b/lib/trino-filesystem-gcs/pom.xml
index e600136e5b79..573302a50bdc 100644
--- a/lib/trino-filesystem-gcs/pom.xml
+++ b/lib/trino-filesystem-gcs/pom.xml
@@ -135,6 +135,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-atop/pom.xml b/plugin/trino-atop/pom.xml
index d957e286b88d..c84aeefa8586 100644
--- a/plugin/trino-atop/pom.xml
+++ b/plugin/trino-atop/pom.xml
@@ -111,6 +111,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/testing/trino-benchmark-queries/pom.xml b/testing/trino-benchmark-queries/pom.xml
index b9224c4808bd..00bf340cac69 100644
--- a/testing/trino-benchmark-queries/pom.xml
+++ b/testing/trino-benchmark-queries/pom.xml
@@ -15,6 +15,12 @@
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api