Skip to content

Commit 027fe77

Browse files
linter for -Xlint:all,-serial,-processing
Linter Off for -Xlint:all,-serial,-processing
1 parent bc0f94f commit 027fe77

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,16 @@
256256
<source>8</source>
257257
<target>8</target>
258258
<compilerArgument>-Xlint:all</compilerArgument>
259-
<showWarnings>true</showWarnings>
260259
<showDeprecation>true</showDeprecation>
260+
<showWarnings>true</showWarnings>
261+
<compilerArgs>
262+
<!-- We turn off:
263+
- `serial` because we don't use Java serialization
264+
(and all it does is stupidly complain about the serialVersionUID)
265+
- `processing` because it complains about every annotation
266+
-->
267+
<arg>-Xlint:all,-serial,-processing</arg>
268+
</compilerArgs>
261269
</configuration>
262270
</plugin>
263271
<plugin>

0 commit comments

Comments
 (0)