Skip to content

Commit

Permalink
Enforce stricter compiler warnings/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sic2 committed Dec 3, 2024
1 parent 3abb153 commit 601ed94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,12 @@
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<showWarnings>true</showWarnings>
<failOnError>true</failOnError>
<failOnWarning>true</failOnWarning>
<compilerArgs>
<arg>-Xlint:deprecation</arg>
<arg>-Xlint:unchecked</arg>
<arg>-Xlint:all</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit 601ed94

Please sign in to comment.