Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit beac379

Browse files
committed
apply changes from git-demo
1 parent c18cf24 commit beac379

File tree

17 files changed

+764
-465
lines changed

17 files changed

+764
-465
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Google Cloud for Java
22
=====================
33

44
[![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java)
5+
[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java)
56

67
Java idiomatic client for Google Cloud Platform services. Supported APIs include:
78

@@ -11,7 +12,7 @@ Java idiomatic client for Google Cloud Platform services. Supported APIs include
1112
> Note: This package is a work-in-progress, and may occasionally
1213
> make backwards-incompatible changes.
1314
14-
Documentation and examples are available [here](https://github.com/GoogleCloudePlatform/gcloud-java/gh-pages/apidocs).
15+
Documentation and examples are available [here](https://googlecloudeplatform.github.com/gcloud-java/apidocs).
1516

1617
## Google Cloud Datastore
1718

checkstyle.xml

Lines changed: 196 additions & 167 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 155 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
11
<?xml version="1.0"?>
2-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
54
<groupId>com.google.gcloud</groupId>
65
<artifactId>gcloud-java</artifactId>
6+
<packaging>jar</packaging>
77
<version>0.0.1-SNAPSHOT</version>
8+
<name>GCloud Java</name>
9+
<url>https://github.com/GoogleCloudPlatform/gcloud-java</url>
10+
<description>
11+
Java idiomatic client for Google Cloud Platform services.
12+
</description>
13+
<scm>
14+
<connection>scm:git:[email protected]:GoogleCloudPlatform/gcloud-java.git</connection>
15+
<developerConnection>scm:git:[email protected]:GoogleCloudPlatform/gcloud-java.git</developerConnection>
16+
<url>https://github.com/GoogleCloudPlatform/gcloud-java</url>
17+
<tag>HEAD</tag>
18+
</scm>
19+
<ciManagement>
20+
<system>Travis CI</system>
21+
<url>https://travis-ci.org/GoogleCloudPlatform/gcloud-java</url>
22+
</ciManagement>
23+
<issueManagement>
24+
<url>https://github.com/GoogleCloudPlatform/gcloud-java/issues</url>
25+
<system>GitHub Issues</system>
26+
</issueManagement>
827
<dependencies>
928
<dependency>
1029
<groupId>com.google.http-client</groupId>
@@ -87,9 +106,16 @@
87106
<url>http://repo.maven.apache.org/maven2</url>
88107
</repository>
89108
</repositories>
109+
<licenses>
110+
<license>
111+
<name>GCloud Java Software License</name>
112+
<url>https://raw.github.com/GoogleCloudPlatform/gcloud-java/master/LICENSE.md</url>
113+
</license>
114+
</licenses>
90115
<properties>
91116
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
92117
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
118+
<github.global.server>github</github.global.server>
93119
</properties>
94120
<pluginRepositories>
95121
<pluginRepository>
@@ -106,70 +132,10 @@
106132
</pluginRepositories>
107133
<build>
108134
<plugins>
109-
<plugin>
110-
<artifactId>maven-antrun-plugin</artifactId>
111-
<version>1.8</version>
112-
<executions>
113-
<execution>
114-
<id>before-integration-test</id>
115-
<phase>pre-integration-test</phase>
116-
<configuration>
117-
<target>
118-
<property name="test_classpath" refid="maven.test.classpath"/>
119-
<java classname="com.google.gcloud.datastore.LocalGcdHelper">
120-
<arg value="START"/>
121-
<classpath>
122-
<pathelement path="${test_classpath}" />
123-
</classpath>
124-
</java>
125-
</target>
126-
</configuration>
127-
<goals>
128-
<goal>run</goal>
129-
</goals>
130-
</execution>
131-
<execution>
132-
<id>after-integration-test</id>
133-
<phase>post-integration-test</phase>
134-
<configuration>
135-
<target>
136-
<property name="test_classpath" refid="maven.test.classpath"/>
137-
<java classname="com.google.gcloud.datastore.LocalGcdHelper">
138-
<arg value="STOP"/>
139-
<classpath>
140-
<pathelement path="${test_classpath}" />
141-
</classpath>
142-
</java>
143-
</target>
144-
</configuration>
145-
<goals>
146-
<goal>run</goal>
147-
</goals>
148-
</execution>
149-
</executions>
150-
</plugin>
151-
<plugin>
152-
<groupId>org.apache.maven.plugins</groupId>
153-
<artifactId>maven-surefire-plugin</artifactId>
154-
<version>2.18.1</version>
155-
<configuration>
156-
<excludes>
157-
<exclude>**/*IntegrationTest.java</exclude>
158-
</excludes>
159-
</configuration>
160-
</plugin>
161135
<plugin>
162136
<groupId>org.apache.maven.plugins</groupId>
163137
<artifactId>maven-failsafe-plugin</artifactId>
164138
<version>2.18.1</version>
165-
<configuration>
166-
<excludes>
167-
<exclude>none</exclude>
168-
</excludes>
169-
<includes>
170-
<include>**/*IntegrationTest.java</include>
171-
</includes>
172-
</configuration>
173139
<executions>
174140
<execution>
175141
<goals>
@@ -192,6 +158,133 @@
192158
<encoding>UTF-8</encoding>
193159
</configuration>
194160
</plugin>
161+
<plugin>
162+
<groupId>org.eluder.coveralls</groupId>
163+
<artifactId>coveralls-maven-plugin</artifactId>
164+
<version>3.0.1</version>
165+
</plugin>
166+
<plugin>
167+
<groupId>org.codehaus.mojo</groupId>
168+
<artifactId>cobertura-maven-plugin</artifactId>
169+
<version>2.6</version>
170+
<configuration>
171+
<formats>
172+
<format>xml</format>
173+
<format>html</format>
174+
</formats>
175+
<aggregate>true</aggregate>
176+
<instrumentation>
177+
<ignoreTrivial>true</ignoreTrivial>
178+
<includes>
179+
<include>com/google/gcloud/**/*.class</include>
180+
</includes>
181+
</instrumentation>
182+
<check />
183+
<maxmem>256m</maxmem>
184+
</configuration>
185+
</plugin>
186+
<plugin>
187+
<groupId>org.apache.maven.plugins</groupId>
188+
<artifactId>maven-checkstyle-plugin</artifactId>
189+
<version>2.13</version>
190+
<dependencies>
191+
<dependency>
192+
<groupId>com.puppycrawl.tools</groupId>
193+
<artifactId>checkstyle</artifactId>
194+
<version>6.2</version>
195+
</dependency>
196+
</dependencies>
197+
</plugin>
198+
<plugin>
199+
<groupId>org.apache.maven.plugins</groupId>
200+
<artifactId>maven-site-plugin</artifactId>
201+
<version>3.4</version>
202+
<configuration>
203+
<reportPlugins>
204+
<plugin>
205+
<groupId>org.apache.maven.plugins</groupId>
206+
<artifactId>maven-changelog-plugin</artifactId>
207+
<version>2.3</version>
208+
</plugin>
209+
<plugin>
210+
<groupId>org.apache.maven.plugins</groupId>
211+
<artifactId>maven-project-info-reports-plugin</artifactId>
212+
<version>2.8</version>
213+
<reportSets>
214+
<reportSet>
215+
<reports>
216+
<report>dependencies</report>
217+
<report>project-team</report>
218+
<report>mailing-list</report>
219+
<report>cim</report>
220+
<report>issue-tracking</report>
221+
<report>license</report>
222+
<report>scm</report>
223+
</reports>
224+
</reportSet>
225+
</reportSets>
226+
<configuration>
227+
<quiet>true</quiet>
228+
<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
229+
<dependencyLocationsEnabled>true</dependencyLocationsEnabled>
230+
</configuration>
231+
</plugin>
232+
<plugin>
233+
<groupId>org.apache.maven.plugins</groupId>
234+
<artifactId>maven-javadoc-plugin</artifactId>
235+
<version>2.10.1</version>
236+
<reportSets>
237+
<reportSet>
238+
<id>html</id>
239+
<reports>
240+
<report>javadoc</report>
241+
</reports>
242+
</reportSet>
243+
</reportSets>
244+
<configuration>
245+
<show>protected</show>
246+
<nohelp>true</nohelp>
247+
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
248+
</configuration>
249+
</plugin>
250+
<plugin>
251+
<groupId>org.apache.maven.plugins</groupId>
252+
<artifactId>maven-surefire-report-plugin</artifactId>
253+
<version>2.18.1</version>
254+
</plugin>
255+
<plugin>
256+
<groupId>org.apache.maven.plugins</groupId>
257+
<artifactId>maven-checkstyle-plugin</artifactId>
258+
<version>2.13</version>
259+
<configuration>
260+
<configLocation>checkstyle.xml</configLocation>
261+
<failOnViolation>false</failOnViolation>
262+
</configuration>
263+
</plugin>
264+
<plugin>
265+
<groupId>org.codehaus.mojo</groupId>
266+
<artifactId>cobertura-maven-plugin</artifactId>
267+
<version>2.6</version>
268+
</plugin>
269+
</reportPlugins>
270+
</configuration>
271+
</plugin>
272+
<plugin>
273+
<groupId>com.github.github</groupId>
274+
<artifactId>site-maven-plugin</artifactId>
275+
<version>0.10</version>
276+
<configuration>
277+
<message>Creating site for ${project.artifactId} ${project.version}</message>
278+
</configuration>
279+
<executions>
280+
<execution>
281+
<goals>
282+
<goal>site</goal>
283+
</goals>
284+
<phase>site</phase>
285+
</execution>
286+
</executions>
287+
</plugin>
195288
</plugins>
196289
</build>
197290
</project>

0 commit comments

Comments
 (0)