diff --git a/samples/install-with-bom/pom.xml b/samples/install-with-bom/pom.xml
index 62703a7d..f5b1d4ea 100644
--- a/samples/install-with-bom/pom.xml
+++ b/samples/install-with-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
libraries-bom
- 4.4.1
+ 5.1.0
pom
import
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 3b5b937f..e49160db 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 4.4.1
+ 5.1.0
pom
import