GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Checkstyle is now enforced across most modules. · xiaowei2008/java-docs-samples@bf8717b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .travis.yml
  • appengine
    • analytics
      • pom.xml
    • appidentity
      • pom.xml
      • src/main/java/com/example/appengine/appidentity
        • IdentityServlet.java
    • cloudsql
      • pom.xml
    • cloudstorage
      • pom.xml
    • datastore
      • pom.xml
    • disk
      • pom.xml
      • src/main/java/com/example/managedvms/disk
        • DiskServlet.java
    • extending-runtime
      • pom.xml
    • helloworld-mvm
      • pom.xml
    • helloworld
      • pom.xml
    • mailgun
      • pom.xml
    • memcache
      • pom.xml
    • sendgrid
      • pom.xml
    • static-files
      • pom.xml
    • twilio
      • pom.xml
      • src/main/java/com/example/managedvms/twilio
        • ReceiveSmsServlet.java
        • SendSmsServlet.java
    • websockets
      • pom.xml
      • src/main/java/com/example/managedvms/websockets
        • WebsocketServlet.java
  • bigquery
    • pom.xml
  • logging
    • pom.xml
  • managedvms/sparkjava
    • pom.xml
  • monitoring
    • pom.xml
  • pom.xml
  • storage
    • json-api
      • pom.xml
      • src/main/java
        • StorageSample.java
    • storage-transfer
      • pom.xml
    • xml-api
      • cmdline-sample
        • pom.xml
      • serviceaccount-appengine-sample
        • pom.xml
  • taskqueue/deferred
    • pom.xml
  • unittests
    • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ env:
66
before_install:
77
- openssl aes-256-cbc -K $encrypted_99d8b304f94b_key -iv $encrypted_99d8b304f94b_iv -in service-account.json.enc -out service-account.json -d
88

9-
script: mvn test
9+
script: mvn verify
1010
after_success:
1111
- mvn clean cobertura:cobertura coveralls:report
Collapse file

‎appengine/analytics/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/analytics/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>analytics</artifactId>
8+
<artifactId>appengine-analytics</artifactId>
99
<dependencies>
1010
<dependency>
1111
<groupId>org.apache.httpcomponents</groupId>
@@ -49,6 +49,20 @@
4949
<promote>true</promote>
5050
</configuration>
5151
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-checkstyle-plugin</artifactId>
55+
<version>2.17</version>
56+
<configuration>
57+
<configLocation>../../google-checks.xml</configLocation>
58+
<consoleOutput>true</consoleOutput>
59+
<failOnViolation>true</failOnViolation>
60+
<failsOnError>true</failsOnError>
61+
</configuration>
62+
<executions>
63+
<execution><goals><goal>check</goal></goals></execution>
64+
</executions>
65+
</plugin>
5266
</plugins>
5367
</build>
5468
</project>
Collapse file

‎appengine/appidentity/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/appidentity/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Copyright 2015 Google Inc. All Rights Reserved.
2020
<packaging>war</packaging>
2121
<version>1.0-SNAPSHOT</version>
2222
<groupId>com.example.appengine</groupId>
23-
<artifactId>appidentity</artifactId>
23+
<artifactId>appengine-appidentity</artifactId>
2424

2525
<properties>
2626
<appengine.target.version>1.9.30</appengine.target.version>
@@ -107,6 +107,20 @@ Copyright 2015 Google Inc. All Rights Reserved.
107107
<artifactId>gcloud-maven-plugin</artifactId>
108108
<version>2.0.9.90.v20151210</version>
109109
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-checkstyle-plugin</artifactId>
113+
<version>2.17</version>
114+
<configuration>
115+
<configLocation>../../google-checks.xml</configLocation>
116+
<consoleOutput>true</consoleOutput>
117+
<failOnViolation>true</failOnViolation>
118+
<failsOnError>true</failsOnError>
119+
</configuration>
120+
<executions>
121+
<execution><goals><goal>check</goal></goals></execution>
122+
</executions>
123+
</plugin>
110124
</plugins>
111125
</build>
112126
</project>
Collapse file

‎appengine/appidentity/src/main/java/com/example/appengine/appidentity/IdentityServlet.java‎

Copy file name to clipboardExpand all lines: appengine/appidentity/src/main/java/com/example/appengine/appidentity/IdentityServlet.java
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
package com.example.appengine.appidentity;
1818

1919
import com.google.apphosting.api.ApiProxy;
20-
import com.google.apphosting.api.ApiProxy.Environment;
2120

2221
import java.io.IOException;
23-
import java.io.PrintWriter;
2422

2523
import javax.servlet.http.HttpServlet;
2624
import javax.servlet.http.HttpServletRequest;
Collapse file

‎appengine/cloudsql/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/cloudsql/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>cloudsql</artifactId>
8+
<artifactId>appengine-cloudsql</artifactId>
99
<dependencies>
1010
<dependency>
1111
<groupId>javax.servlet</groupId>
@@ -51,6 +51,20 @@
5151
<promote>true</promote>
5252
</configuration>
5353
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-checkstyle-plugin</artifactId>
57+
<version>2.17</version>
58+
<configuration>
59+
<configLocation>../../google-checks.xml</configLocation>
60+
<consoleOutput>true</consoleOutput>
61+
<failOnViolation>true</failOnViolation>
62+
<failsOnError>true</failsOnError>
63+
</configuration>
64+
<executions>
65+
<execution><goals><goal>check</goal></goals></execution>
66+
</executions>
67+
</plugin>
5468
</plugins>
5569
</build>
5670
</project>
Collapse file

‎appengine/cloudstorage/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/cloudstorage/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>cloudstorage</artifactId>
8+
<artifactId>appengine-cloudstorage</artifactId>
99
<dependencies>
1010
<dependency>
1111
<groupId>javax.servlet</groupId>
@@ -49,6 +49,20 @@
4949
<promote>true</promote>
5050
</configuration>
5151
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-checkstyle-plugin</artifactId>
55+
<version>2.17</version>
56+
<configuration>
57+
<configLocation>../../google-checks.xml</configLocation>
58+
<consoleOutput>true</consoleOutput>
59+
<failOnViolation>true</failOnViolation>
60+
<failsOnError>true</failsOnError>
61+
</configuration>
62+
<executions>
63+
<execution><goals><goal>check</goal></goals></execution>
64+
</executions>
65+
</plugin>
5266
</plugins>
5367
</build>
5468
</project>
Collapse file

‎appengine/datastore/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/datastore/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>datastore</artifactId>
8+
<artifactId>appengine-datastore</artifactId>
99
<dependencies>
1010
<dependency>
1111
<groupId>javax.servlet</groupId>
@@ -49,6 +49,20 @@
4949
<promote>true</promote>
5050
</configuration>
5151
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-checkstyle-plugin</artifactId>
55+
<version>2.17</version>
56+
<configuration>
57+
<configLocation>../../google-checks.xml</configLocation>
58+
<consoleOutput>true</consoleOutput>
59+
<failOnViolation>true</failOnViolation>
60+
<failsOnError>true</failsOnError>
61+
</configuration>
62+
<executions>
63+
<execution><goals><goal>check</goal></goals></execution>
64+
</executions>
65+
</plugin>
5266
</plugins>
5367
</build>
5468
</project>
Collapse file

‎appengine/disk/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/disk/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>disk</artifactId>
8+
<artifactId>appengine-disk</artifactId>
99
<dependencies>
1010
<dependency>
1111
<groupId>javax.servlet</groupId>
@@ -41,6 +41,20 @@
4141
<artifactId>gcloud-maven-plugin</artifactId>
4242
<version>2.0.9.90.v20151210</version>
4343
</plugin>
44+
<plugin>
45+
<groupId>org.apache.maven.plugins</groupId>
46+
<artifactId>maven-checkstyle-plugin</artifactId>
47+
<version>2.17</version>
48+
<configuration>
49+
<configLocation>../../google-checks.xml</configLocation>
50+
<consoleOutput>true</consoleOutput>
51+
<failOnViolation>true</failOnViolation>
52+
<failsOnError>true</failsOnError>
53+
</configuration>
54+
<executions>
55+
<execution><goals><goal>check</goal></goals></execution>
56+
</executions>
57+
</plugin>
4458
</plugins>
4559
</build>
4660
</project>
Collapse file

‎appengine/disk/src/main/java/com/example/managedvms/disk/DiskServlet.java‎

Copy file name to clipboardExpand all lines: appengine/disk/src/main/java/com/example/managedvms/disk/DiskServlet.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOExc
4646
StringBuffer sb = new StringBuffer();
4747
List<String> strings = Files.readAllLines(tmpFile, StandardCharsets.US_ASCII);
4848
for (String s : strings) {
49-
sb.append(s+"\n");
49+
sb.append(s + "\n");
5050
}
5151
PrintWriter out = resp.getWriter();
5252
resp.setContentType("text/plain");
Collapse file

‎appengine/extending-runtime/pom.xml‎

Copy file name to clipboardExpand all lines: appengine/extending-runtime/pom.xml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>war</packaging>
66
<version>1.0-SNAPSHOT</version>
77
<groupId>com.example.managedvms</groupId>
8-
<artifactId>extendingruntime</artifactId>
8+
<artifactId>appengine-extendingruntime</artifactId>
99
<properties>
1010
<writeable.directory></writeable.directory>
1111
<gcloud.sdk.directory></gcloud.sdk.directory>
@@ -58,6 +58,20 @@
5858
</custom_entrypoint>
5959
</configuration>
6060
</plugin>
61+
<plugin>
62+
<groupId>org.apache.maven.plugins</groupId>
63+
<artifactId>maven-checkstyle-plugin</artifactId>
64+
<version>2.17</version>
65+
<configuration>
66+
<configLocation>../../google-checks.xml</configLocation>
67+
<consoleOutput>true</consoleOutput>
68+
<failOnViolation>true</failOnViolation>
69+
<failsOnError>true</failsOnError>
70+
</configuration>
71+
<executions>
72+
<execution><goals><goal>check</goal></goals></execution>
73+
</executions>
74+
</plugin>
6175
</plugins>
6276
</build>
6377
</project>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.