Skip to content

Commit 25eaa09

Browse files
Move Stat and clarify example command line
- 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.
1 parent eceec71 commit 25eaa09

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

gcloud-java-examples/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 -Dmaven.javadoc.skip=true -Dmaven.source.skip=true` in command line from your base project directory
41+
then `cd gcloud-java-examples` and finally `mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true`.
4142

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

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)