You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Broyer (Jira)" <ji...@apache.org> on 2021/03/23 08:20:00 UTC
[jira] [Created] (MCOMPILER-457) Change showWarnings to true by
default
Thomas Broyer created MCOMPILER-457:
---------------------------------------
Summary: Change showWarnings to true by default
Key: MCOMPILER-457
URL: https://issues.apache.org/jira/browse/MCOMPILER-457
Project: Maven Compiler Plugin
Issue Type: Improvement
Reporter: Thomas Broyer
I see no reason to hide warnings by default, and setting {{failOnWarning}} to {{true}} will be useless without also setting {{showWarnings}} to {{true}}; but you'll actually never know until you *actually* expect a warning (and build failure) and doesn't see it. Setting {{failOnWarning}} preventively without also setting {{showWarnings}} thus won't prevent anything; even if you also pass a strict {{-Xlint:all}} (because {{-nowarn}} has precedence apparently).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)