Skip to content

Commit

Permalink
Use published artifact for IoT (#874)
Browse files Browse the repository at this point in the history
* Updates instructions for jar installation

* Uses published client library
  • Loading branch information
gguuss authored and lesv committed Sep 28, 2017
1 parent f554c48 commit 5903482
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions iot/api-client/manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion iot/api-client/manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudiot</artifactId>
<version>v1beta1-rev20170926-1.22.0-SNAPSHOT</version>
<version>v1-rev20170922-1.22.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
Expand Down

0 comments on commit 5903482

Please sign in to comment.