diff --git a/java-retail/README.md b/java-retail/README.md
index d2b18b02eaa3..61a4faa33714 100644
--- a/java-retail/README.md
+++ b/java-retail/README.md
@@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file:
com.google.cloud
google-cloud-retail
- 2.3.0
+ 2.4.0
```
diff --git a/java-retail/samples/install-without-bom/pom.xml b/java-retail/samples/install-without-bom/pom.xml
index e14d17d55bbd..3cc391fba687 100644
--- a/java-retail/samples/install-without-bom/pom.xml
+++ b/java-retail/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-retail
- 2.3.0
+ 2.4.0
diff --git a/java-retail/samples/interactive-tutorials/pom.xml b/java-retail/samples/interactive-tutorials/pom.xml
index 5eb5cc435fd1..aba868df9b8a 100644
--- a/java-retail/samples/interactive-tutorials/pom.xml
+++ b/java-retail/samples/interactive-tutorials/pom.xml
@@ -41,7 +41,7 @@
com.google.cloud
google-cloud-retail
- 2.3.0
+ 2.4.0
junit
diff --git a/java-retail/samples/snippets/pom.xml b/java-retail/samples/snippets/pom.xml
index 3a4bc3f8ed21..6dad66af93c3 100644
--- a/java-retail/samples/snippets/pom.xml
+++ b/java-retail/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-retail
- 2.3.0
+ 2.4.0