style: enable compiler warnings and treat them as errors (#5165)
This commit is contained in:
parent
bf9d0ed66a
commit
d77d9010a8
9
pom.xml
9
pom.xml
@ -75,6 +75,15 @@
|
||||
<configuration>
|
||||
<source>17</source>
|
||||
<target>17</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
<arg>-Xlint:-auxiliaryclass</arg>
|
||||
<arg>-Xlint:-rawtypes</arg>
|
||||
<arg>-Xlint:-serial</arg>
|
||||
<arg>-Xlint:-try</arg>
|
||||
<arg>-Xlint:-unchecked</arg>
|
||||
<arg>-Werror</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user