Skip to content

Commit e1d734a

Browse files
Merge pull request #960 from jean-philippe-martin/nio_examples_fix
Move Stat and clarify example command line
2 parents eceec71 + f27b5c3 commit e1d734a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

gcloud-java-examples/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Examples for gcloud-java (Java idiomatic client for [Google Cloud Platform][clou
99
[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java)
1010
[![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969)
1111

12-
- [Homepage] (https://googlecloudplatform.github.io/gcloud-java/)
13-
- [Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/examples/package-summary.html)
12+
- [Homepage](https://googlecloudplatform.github.io/gcloud-java/)
13+
- [Examples](http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/examples/package-summary.html)
1414

1515
Quickstart
1616
----------
@@ -37,7 +37,8 @@ To run examples from your command line:
3737

3838
2. Set your current project using `gcloud config set project PROJECT_ID`. This step is not necessary for `ResourceManagerExample`.
3939

40-
3. Compile using Maven: `cd gcloud-java-examples` in command line from your base project directory and then `mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true`.
40+
3. Compile using Maven: `mvn install -DskipTests` in command line from your base project directory
41+
then `cd gcloud-java-examples` and finally `mvn package appassembler:assemble -DskipTests`.
4142

4243
4. Run an example from the command line using the Maven-generated scripts.
4344

@@ -69,6 +70,7 @@ To run examples from your command line:
6970
target/appassembler/bin/DatastoreExample your-project-id my_name add my\ comment
7071
target/appassembler/bin/DatastoreExample your-project-id my_name display
7172
target/appassembler/bin/DatastoreExample your-project-id my_name delete
73+
```
7274
7375
* Here's an example run of `DnsExample`.
7476
@@ -135,7 +137,7 @@ Java 7 or above is required for using this client.
135137
Versioning
136138
----------
137139
138-
This library follows [Semantic Versioning] (http://semver.org/).
140+
This library follows [Semantic Versioning](http://semver.org/).
139141
140142
It is currently in major version zero (``0.y.z``), which means that anything
141143
may change at any time and the public API should not be considered

gcloud-java-examples/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<plugin>
4949
<groupId>org.codehaus.mojo</groupId>
5050
<artifactId>appassembler-maven-plugin</artifactId>
51+
<version>1.10</version>
5152
<configuration>
5253
<programs>
5354
<program>

0 commit comments

Comments
 (0)