Skip to content

Commit 46d804c

Browse files
committed
style: enable compiler warnings and treat them as errors
1 parent bf9d0ed commit 46d804c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@
7575
<configuration>
7676
<source>17</source>
7777
<target>17</target>
78+
<compilerArgs>
79+
<arg>-Xlint:all</arg>
80+
<arg>-Xlint:-auxiliaryclass</arg>
81+
<arg>-Xlint:-rawtypes</arg>
82+
<arg>-Xlint:-serial</arg>
83+
<arg>-Xlint:-try</arg>
84+
<arg>-Xlint:-unchecked</arg>
85+
<arg>-Werror</arg>
86+
</compilerArgs>
7887
</configuration>
7988
</plugin>
8089
<plugin>

0 commit comments

Comments
 (0)