Skip to content

Commit d77d901

Browse files
authored
style: enable compiler warnings and treat them as errors (#5165)
1 parent bf9d0ed commit d77d901

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

+9
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)