diff --git a/java-aiplatform/google-cloud-aiplatform/pom.xml b/java-aiplatform/google-cloud-aiplatform/pom.xml
index 5d7eb8cce5ca..8bc735cee89d 100644
--- a/java-aiplatform/google-cloud-aiplatform/pom.xml
+++ b/java-aiplatform/google-cloud-aiplatform/pom.xml
@@ -78,6 +78,17 @@
com.google.api.grpc
grpc-google-iam-v1
+
+ com.google.code.gson
+ gson
+
+ runtime
+
@@ -108,11 +119,6 @@
com.google.protobuf
protobuf-java-util
-
- com.google.code.gson
- gson
- test
-