diff --git a/src/main/java/com/google/api/generator/spring/SpringWriter.java b/src/main/java/com/google/api/generator/spring/SpringWriter.java
index deee4d41aa..3949012f27 100644
--- a/src/main/java/com/google/api/generator/spring/SpringWriter.java
+++ b/src/main/java/com/google/api/generator/spring/SpringWriter.java
@@ -242,13 +242,11 @@ static String buildPomString(GapicContext context) {
+ " \n"
+ " org.springframework.boot\n"
+ " spring-boot-starter\n"
- + " 2.6.3\n"
+ " \n"
+ "\n"
+ " \n"
+ " com.google.cloud\n"
+ " spring-cloud-gcp-core\n"
- + " 3.2.1\n"
+ " \n"
+ "\n"
+ "\n"
diff --git a/src/test/java/com/google/api/generator/spring/goldens/SpringPackagePom.golden b/src/test/java/com/google/api/generator/spring/goldens/SpringPackagePom.golden
index 1950d61a60..02e3b5b848 100644
--- a/src/test/java/com/google/api/generator/spring/goldens/SpringPackagePom.golden
+++ b/src/test/java/com/google/api/generator/spring/goldens/SpringPackagePom.golden
@@ -23,13 +23,11 @@
org.springframework.boot
spring-boot-starter
- 2.6.3
com.google.cloud
spring-cloud-gcp-core
- 3.2.1