Skip to content

Commit

Permalink
Move Stat and clarify example command line
Browse files Browse the repository at this point in the history
- Stat is now in com.google.cloud.examples.nio (following the gcloud ->
cloud move)
- Added version for appassembler to remove warning
- added 'mvn install' to instructions because it's necessary.
  • Loading branch information
jean-philippe-martin committed Apr 26, 2016
1 parent eceec71 commit 25eaa09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcloud-java-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ To run examples from your command line:

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

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`.
3. Compile using Maven: `mvn install -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true` in command line from your base project directory
then `cd gcloud-java-examples` and finally `mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true`.

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

Expand Down
1 change: 1 addition & 0 deletions gcloud-java-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.10</version>
<configuration>
<programs>
<program>
Expand Down

0 comments on commit 25eaa09

Please sign in to comment.