Skip to content

Commit

Permalink
Remove Maven "exec" config, allowing for multiple programs.
Browse files Browse the repository at this point in the history
Also add a README.pm, explaining how to run programs.
  • Loading branch information
BrandonY authored and tswast committed Mar 24, 2016
1 parent 02ae002 commit bfab252
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
31 changes: 31 additions & 0 deletions storage/json-api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Google Cloud Storage (GCS) and the Google Java API Client library

Google Cloud Storage Service features a REST-based API that allows developers to store and access arbitrarily-large objects. These sample Java applications demonstrate how to access the Google Cloud Storage JSON API using the Google Java API Client Libraries. For more information, read the [Google Cloud Storage JSON API Overview][1].

## Quickstart

Install [Maven](http://maven.apache.org/).

Build your project with:

mvn package

You can then run a given `ClassName` via:

mvn exec:java -Dexec.mainClass=StorageSample \
-Dexec.args="ABucketName"

## Products
- [Google Cloud Storage][2]

## Language
- [Java][3]

## Dependencies
- [Google APIs Client Library for Java][4]

[1]: https://cloud.google.com/storage/docs/json_api
[2]: https://cloud.google.com/storage
[3]: https://java.com
[4]: http://code.google.com/p/google-api-java-client/

17 changes: 0 additions & 17 deletions storage/json-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>StorageSample</mainClass>
</configuration>
</plugin>
</plugins>
<finalName>${project.artifactId}-${project.version}</finalName>
</build>
<dependencies>
Expand Down

0 comments on commit bfab252

Please sign in to comment.