File tree 7 files changed +35
-157
lines changed
7 files changed +35
-157
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ Trunk (not yet released)
35
35
36
36
AVRO-1839: Update the gitignore files to hide generated files (nielsbasjes)
37
37
38
+ AVRO-1838: Java: Update checkstyle to catch trailing whitespace.
39
+ (nielsbasjes via blue)
40
+
38
41
BUG FIXES
39
42
40
43
AVRO-1493. Java: Avoid the "Turkish Locale Problem". Schema fingerprints are
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 74
74
<findbugs-annotations .version>1.3.9-1</findbugs-annotations .version>
75
75
76
76
<!-- version properties for plugins -->
77
- <checkstyle-plugin .version>2.12.1</checkstyle-plugin .version>
78
77
<bundle-plugin-version >2.5.3</bundle-plugin-version >
79
78
<compiler-plugin .version>3.1</compiler-plugin .version>
80
79
<exec-plugin .version>1.3.2</exec-plugin .version>
234
233
</systemPropertyVariables >
235
234
</configuration >
236
235
</plugin >
237
- <plugin >
238
- <groupId >org.apache.maven.plugins</groupId >
239
- <artifactId >maven-checkstyle-plugin</artifactId >
240
- <version >${checkstyle-plugin.version} </version >
241
- <configuration >
242
- <consoleOutput >true</consoleOutput >
243
- <configLocation >checkstyle.xml</configLocation >
244
- </configuration >
245
- <!-- Runs by default in the verify phase (mvn verify or later in the build cycle)
246
- the 'check' goal will fail the build if it does not pass. "mvn checkstyle:check"
247
- will do this alone, or "mvn checkstyle:checkstyle" will report but not break -->
248
- <executions >
249
- <execution >
250
- <id >checkstyle-check</id >
251
- <phase >test</phase >
252
- <goals >
253
- <goal >check</goal >
254
- </goals >
255
- </execution >
256
- </executions >
257
- </plugin >
258
236
<plugin >
259
237
<groupId >org.apache.maven.plugins</groupId >
260
238
<artifactId >maven-javadoc-plugin</artifactId >
307
285
</plugins >
308
286
</pluginManagement >
309
287
<plugins >
310
- <plugin >
311
- <groupId >org.apache.maven.plugins</groupId >
312
- <artifactId >maven-checkstyle-plugin</artifactId >
313
- </plugin >
314
288
<plugin >
315
289
<groupId >org.apache.felix</groupId >
316
290
<artifactId >maven-bundle-plugin</artifactId >
Original file line number Diff line number Diff line change 48
48
49
49
<build >
50
50
<plugins >
51
- <plugin >
52
- <groupId >org.apache.maven.plugins</groupId >
53
- <artifactId >maven-checkstyle-plugin</artifactId >
54
- </plugin >
55
51
<plugin >
56
52
<groupId >org.apache.maven.plugins</groupId >
57
53
<artifactId >maven-jar-plugin</artifactId >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44
44
</dependency >
45
45
</dependencies >
46
46
47
- <build >
48
- <plugins >
49
- <plugin >
50
- <groupId >org.apache.maven.plugins</groupId >
51
- <artifactId >maven-checkstyle-plugin</artifactId >
52
- </plugin >
53
- </plugins >
54
- </build >
55
-
56
47
<profiles >
57
48
</profiles >
58
49
Original file line number Diff line number Diff line change 44
44
Java artifacts are copied to the final build destination with a custom profile.
45
45
-->
46
46
<properties >
47
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
47
48
<avro .distDir>dist</avro .distDir>
48
49
<avro .docDir>build/avro-doc-${project.version} /api</avro .docDir>
49
50
<!-- dependency plugin versions -->
53
54
<antrun-plugin .version>1.7</antrun-plugin .version>
54
55
<enforcer-plugin .version>1.3.1</enforcer-plugin .version>
55
56
<rat .version>0.9</rat .version>
57
+ <checkstyle-plugin .version>2.17</checkstyle-plugin .version>
56
58
</properties >
57
59
58
60
<modules >
61
+ <module >dev-tools</module >
59
62
<module >lang/java</module >
60
63
</modules >
61
64
118
121
<fail >true</fail >
119
122
</configuration >
120
123
</plugin >
124
+ <plugin >
125
+ <groupId >org.apache.maven.plugins</groupId >
126
+ <artifactId >maven-checkstyle-plugin</artifactId >
127
+ <version >${checkstyle-plugin.version} </version >
128
+ <dependencies >
129
+ <dependency >
130
+ <groupId >org.apache.avro</groupId >
131
+ <artifactId >dev-tools</artifactId >
132
+ <version >${project.version} </version >
133
+ </dependency >
134
+ </dependencies >
135
+ <configuration >
136
+ <consoleOutput >true</consoleOutput >
137
+ <configLocation >checkstyle/checkstyle.xml</configLocation >
138
+ <suppressionsLocation >checkstyle/suppressions.xml</suppressionsLocation >
139
+ </configuration >
140
+ <!-- Runs by default in the verify phase (mvn verify or later in the build cycle)
141
+ the 'check' goal will fail the build if it does not pass. "mvn checkstyle:check"
142
+ will do this alone, or "mvn checkstyle:checkstyle" will report but not break -->
143
+ <executions >
144
+ <execution >
145
+ <id >checkstyle-check</id >
146
+ <phase >test</phase >
147
+ <goals >
148
+ <goal >check</goal >
149
+ </goals >
150
+ </execution >
151
+ </executions >
152
+ </plugin >
121
153
</plugins >
122
154
</build >
123
155
You can’t perform that action at this time.
0 commit comments