You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/12/02 21:21:00 UTC

[jira] [Closed] (MCOMPILER-457) Change showWarnings to true by default

     [ https://issues.apache.org/jira/browse/MCOMPILER-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Slawomir Jaranowski closed MCOMPILER-457.
-----------------------------------------
    Fix Version/s: 3.11.0
       Resolution: Fixed

> 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
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.11.0
>
>
> 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.20.10#820010)