Skip to content

Commit 5903482

Browse files
gguusslesv
authored andcommitted
Use published artifact for IoT (#874)
* Updates instructions for jar installation * Uses published client library
1 parent f554c48 commit 5903482

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

iot/api-client/manager/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ Note that before you can run the sample, you must configure a Google Cloud
66
PubSub topic for Cloud IoT as described in [the parent README](../README.md).
77

88
## Setup
9-
10-
Manually install [the provided client library](https://cloud.google.com/iot/resources/java/cloud-iot-core-library.jar)
11-
for Cloud IoT Core to Maven:
12-
13-
mvn install:install-file -Dfile=cloud-iot-core-library.jar -DgroupId=com.google.apis \
14-
-DartifactId=google-api-services-cloudiot -Dversion=v1beta1-rev20170926-1.22.0-SNAPSHOT \
15-
-Dpackaging=jar
16-
179
Run the following command to install the libraries and build the sample with
1810
Maven:
1911

iot/api-client/manager/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>com.google.apis</groupId>
4242
<artifactId>google-api-services-cloudiot</artifactId>
43-
<version>v1beta1-rev20170926-1.22.0-SNAPSHOT</version>
43+
<version>v1-rev20170922-1.22.0</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>com.google.cloud</groupId>

0 commit comments

Comments
 (0)