Skip to content

Commit

Permalink
Prefer mvn:exec when accessing Cloud client library.
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss committed Oct 6, 2017
1 parent 0dd39e8 commit 6a60c8f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions iot/api-client/manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ run the sample as:

Create a PubSub topic, `hello-java`, for the project, `blue-jet-123`:

java -cp target/cloudiot-manager-demo-1.0-jar-with-dependencies.jar \
com.example.cloud.iot.examples.DeviceRegistryExample \
-project_id=blue-jet-123 -pubsub_topic=hello-java
-command=create-iot-topic
mvn exec:java \
-Dexec.mainClass="com.example.cloud.iot.examples.DeviceRegistryExample" \
-Dexec.args="-project_id=blue-jet-123 \
-command=create-iot-topic \
-pubsub_topic=hello-java "

Create an ES device:

Expand Down

0 comments on commit 6a60c8f

Please sign in to comment.