diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index defa0619..81e82a9f 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-containeranalysis
- 1.4.0
+ 2.1.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index e5047f6b..42be0c29 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-containeranalysis
- 1.4.0
+ 2.1.0