Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-457

Change showWarnings to true by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.11.0
    • None

    Description

      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).

      Attachments

        Activity

          People

            sjaranowski Slawomir Jaranowski
            t.broyer Thomas Broyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: