Skip to content

Commit bfab252

Browse files
BrandonYtswast
authored andcommitted
Remove Maven "exec" config, allowing for multiple programs.
Also add a README.pm, explaining how to run programs.
1 parent 02ae002 commit bfab252

File tree

2 files changed

+31
-17
lines changed

2 files changed

+31
-17
lines changed

storage/json-api/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Google Cloud Storage (GCS) and the Google Java API Client library
2+
3+
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].
4+
5+
## Quickstart
6+
7+
Install [Maven](http://maven.apache.org/).
8+
9+
Build your project with:
10+
11+
mvn package
12+
13+
You can then run a given `ClassName` via:
14+
15+
mvn exec:java -Dexec.mainClass=StorageSample \
16+
-Dexec.args="ABucketName"
17+
18+
## Products
19+
- [Google Cloud Storage][2]
20+
21+
## Language
22+
- [Java][3]
23+
24+
## Dependencies
25+
- [Google APIs Client Library for Java][4]
26+
27+
[1]: https://cloud.google.com/storage/docs/json_api
28+
[2]: https://cloud.google.com/storage
29+
[3]: https://java.com
30+
[4]: http://code.google.com/p/google-api-java-client/
31+

storage/json-api/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@
2727
</includes>
2828
</resource>
2929
</resources>
30-
<plugins>
31-
<plugin>
32-
<groupId>org.codehaus.mojo</groupId>
33-
<artifactId>exec-maven-plugin</artifactId>
34-
<version>1.1</version>
35-
<executions>
36-
<execution>
37-
<goals>
38-
<goal>java</goal>
39-
</goals>
40-
</execution>
41-
</executions>
42-
<configuration>
43-
<mainClass>StorageSample</mainClass>
44-
</configuration>
45-
</plugin>
46-
</plugins>
4730
<finalName>${project.artifactId}-${project.version}</finalName>
4831
</build>
4932
<dependencies>

0 commit comments

Comments
 (0)