Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3463

Enable warning messages in maven compiler plugin

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.0, 3.5.5, 3.4.14
    • 3.5.6
    • build

    Description

      "Show Warnings" is off by default in Maven Compiler Plugin. This invalidates our most recent setting of -Werror (treat warnings as errors).

      Let's enable compiler warning messages in all projects and adjust Xdoclint setting:

      <configuration>
        <showWarnings>true</showWarnings>
        <compilerArgs>
          ...
          <compilerArg>-Xdoclint:-missing</compilerArg>
          ...
       </compilerArgs>
      </configuration>

      Attachments

        Activity

          People

            andor Andor Molnar
            andor Andor Molnar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h