From 455971de7d6019e99296e121110a3b5ad1cfd6a5 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Tue, 26 Sep 2017 16:46:49 -0700 Subject: [PATCH 1/2] Updates instructions for jar installation --- iot/api-client/manager/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot/api-client/manager/README.md b/iot/api-client/manager/README.md index daf4c47125a..76859c74809 100644 --- a/iot/api-client/manager/README.md +++ b/iot/api-client/manager/README.md @@ -10,7 +10,7 @@ PubSub topic for Cloud IoT as described in [the parent README](../README.md). Manually install [the provided client library](https://cloud.google.com/iot/resources/java/cloud-iot-core-library.jar) for Cloud IoT Core to Maven: - mvn install:install-file -Dfile=cloud-iot-core-library.jar -DgroupId=com.example.apis \ + mvn install:install-file -Dfile=cloud-iot-core-library.jar -DgroupId=com.google.apis \ -DartifactId=google-api-services-cloudiot -Dversion=v1beta1-rev20170926-1.22.0-SNAPSHOT \ -Dpackaging=jar From cd4aca36192fa583a54cf3cd18865a84cb61ec04 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Thu, 28 Sep 2017 08:50:39 -0700 Subject: [PATCH 2/2] Uses published client library --- iot/api-client/manager/README.md | 8 -------- iot/api-client/manager/pom.xml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/iot/api-client/manager/README.md b/iot/api-client/manager/README.md index 76859c74809..4a5fdbe4d04 100644 --- a/iot/api-client/manager/README.md +++ b/iot/api-client/manager/README.md @@ -6,14 +6,6 @@ Note that before you can run the sample, you must configure a Google Cloud PubSub topic for Cloud IoT as described in [the parent README](../README.md). ## Setup - -Manually install [the provided client library](https://cloud.google.com/iot/resources/java/cloud-iot-core-library.jar) -for Cloud IoT Core to Maven: - - mvn install:install-file -Dfile=cloud-iot-core-library.jar -DgroupId=com.google.apis \ - -DartifactId=google-api-services-cloudiot -Dversion=v1beta1-rev20170926-1.22.0-SNAPSHOT \ - -Dpackaging=jar - Run the following command to install the libraries and build the sample with Maven: diff --git a/iot/api-client/manager/pom.xml b/iot/api-client/manager/pom.xml index 8c060ff5f91..59f142d84e3 100644 --- a/iot/api-client/manager/pom.xml +++ b/iot/api-client/manager/pom.xml @@ -40,7 +40,7 @@ com.google.apis google-api-services-cloudiot - v1beta1-rev20170926-1.22.0-SNAPSHOT + v1-rev20170922-1.22.0 com.google.cloud