Skip to content

Commit c2b6935

Browse files
author
Bill Prin
committed
More check style configuration
1 parent 014079d commit c2b6935

File tree

3 files changed

+17
-37
lines changed

3 files changed

+17
-37
lines changed

cloud-storage/xml-api/serviceaccount-appengine-sample/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,6 @@
5353
<webappDirectory>${webappDirectory}</webappDirectory>
5454
</configuration>
5555
</plugin>
56-
<plugin>
57-
<artifactId>maven-checkstyle-plugin</artifactId>
58-
<version>2.6</version>
59-
<configuration>
60-
<configLocation>../checkstyle.xml</configLocation>
61-
<consoleOutput>true</consoleOutput>
62-
<failOnViolation>false</failOnViolation>
63-
</configuration>
64-
<executions>
65-
<execution>
66-
<goals>
67-
<goal>check</goal>
68-
</goals>
69-
</execution>
70-
</executions>
71-
</plugin>
7256
<plugin>
7357
<groupId>org.codehaus.mojo</groupId>
7458
<artifactId>findbugs-maven-plugin</artifactId>

pom.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@
2929
<build>
3030
<plugins>
3131
<plugin>
32-
<groupId>org.apache.maven.plugins</groupId>
33-
<artifactId>maven-checkstyle-plugin</artifactId>
34-
<version>2.9.1</version>
35-
<executions>
36-
<execution>
37-
<id>checkstyle</id>
38-
<phase>validate</phase>
39-
<goals>
40-
<goal>check</goal>
41-
</goals>
42-
<configuration>
43-
<failOnViolation>true</failOnViolation>
44-
</configuration>
45-
</execution>
46-
</executions>
47-
</plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-checkstyle-plugin</artifactId>
34+
<version>2.15</version>
35+
<configuration>
36+
<configLocation>config/sun_checks.xml</configLocation>
37+
<consoleOutput>true</consoleOutput>
38+
<failOnViolation>false</failOnViolation>
39+
</configuration>
40+
<executions>
41+
<execution>
42+
<goals>
43+
<goal>check</goal>
44+
</goals>
45+
</execution>
46+
</executions>
47+
</plugin>
4848
</plugins>
4949
</build>
5050

taskqueue/deferred/pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020
<appengine.app.version>1</appengine.app.version>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
</properties>
23-
24-
<prerequisites>
25-
<maven>3.1.0</maven>
26-
</prerequisites>
27-
23+
2824
<dependencies>
2925
<!-- Compile/runtime dependencies -->
3026
<dependency>

0 commit comments

Comments
 (0)