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

Enable warning messages in maven compiler plugin

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0, 3.5.5, 3.4.14
    • Fix Version/s: 3.5.6
    • Component/s: 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

            • Assignee:
              andor Andor Molnar
              Reporter:
              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