diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 941ff454a39c..9cdc8a6bddf0 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -71,7 +71,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
- java-version: 11
+ java-version: 17
- run: java -version
- uses: actions/cache@v4
id: mvn-cache
diff --git a/java-dns/pom.xml b/java-dns/pom.xml
index c8746a6fbbbd..f4d03f5940af 100644
--- a/java-dns/pom.xml
+++ b/java-dns/pom.xml
@@ -75,6 +75,12 @@
threetenbp
+
+ com.google.api
+ gax
+ testlib
+ test
+
com.google.cloud
google-cloud-core
diff --git a/java-notification/pom.xml b/java-notification/pom.xml
index cacb633175d7..ad2bac0ad743 100644
--- a/java-notification/pom.xml
+++ b/java-notification/pom.xml
@@ -68,6 +68,12 @@
+
+ com.google.api
+ gax
+ testlib
+ test
+
junit
junit
diff --git a/java-recommender/google-cloud-recommender/pom.xml b/java-recommender/google-cloud-recommender/pom.xml
index b4ef69816662..998881fc5c89 100644
--- a/java-recommender/google-cloud-recommender/pom.xml
+++ b/java-recommender/google-cloud-recommender/pom.xml
@@ -78,6 +78,12 @@
+
+ com.google.api
+ gax
+ testlib
+ test
+
junit
junit
diff --git a/java-samples/native-image-sample/pom.xml b/java-samples/native-image-sample/pom.xml
index c934d61ab44c..4b879c21d680 100644
--- a/java-samples/native-image-sample/pom.xml
+++ b/java-samples/native-image-sample/pom.xml
@@ -34,6 +34,12 @@
com.google.cloud
google-cloud-secretmanager
+
+ com.google.api
+ gax
+ testlib
+ test
+
diff --git a/java-speech/google-cloud-speech/pom.xml b/java-speech/google-cloud-speech/pom.xml
index 07e13900a259..63afa1a3d05a 100644
--- a/java-speech/google-cloud-speech/pom.xml
+++ b/java-speech/google-cloud-speech/pom.xml
@@ -76,6 +76,12 @@
+
+ com.google.api
+ gax
+ testlib
+ test
+
junit
junit