From a15eb439986bb42d3759d9eab8f72153c3c64378 Mon Sep 17 00:00:00 2001 From: Ajit Thakor Date: Fri, 8 Nov 2019 02:18:15 -0500 Subject: [PATCH 1/2] Reference libraries-bom in docs --- .../google-cloud-datastore/README.md | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index 508c7e87a501..7fe87f8f594b 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -12,9 +12,27 @@ Java idiomatic client for [Google Cloud Datastore][cloud-datastore]. Quickstart ---------- +If you are using Maven with Bom, Add this to your pom.xml file. +```xml + + + + com.google.cloud + libraries-bom + 2.8.0 + pom + import + + + + + com.google.cloud + google-cloud-datastore + +``` [//]: # ({x-version-update-start:google-cloud-datastore:released}) -If you are using Maven, add this to your pom.xml file +If you are using Maven without Bom, Add this to your dependencies. ```xml com.google.cloud From 2f789974fe430c1332304400cf236fe3b7f6b3cb Mon Sep 17 00:00:00 2001 From: Ajit Thakor Date: Mon, 11 Nov 2019 01:19:40 -0500 Subject: [PATCH 2/2] Fix doc message --- google-cloud-clients/google-cloud-datastore/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index 7fe87f8f594b..ea34fadc21da 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -12,7 +12,7 @@ Java idiomatic client for [Google Cloud Datastore][cloud-datastore]. Quickstart ---------- -If you are using Maven with Bom, Add this to your pom.xml file. +If you are using Maven with a BOM, add this to your pom.xml file. ```xml @@ -32,7 +32,7 @@ If you are using Maven with Bom, Add this to your pom.xml file. ``` [//]: # ({x-version-update-start:google-cloud-datastore:released}) -If you are using Maven without Bom, Add this to your dependencies. +If you are using Maven without a BOM, add this to your dependencies. ```xml com.google.cloud