You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andor Molnar (JIRA)" <ji...@apache.org> on 2019/07/16 13:58:00 UTC

[jira] [Created] (ZOOKEEPER-3463) Enable warning messages in maven compiler plugin

Andor Molnar created ZOOKEEPER-3463:
---------------------------------------

             Summary: Enable warning messages in maven compiler plugin
                 Key: ZOOKEEPER-3463
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3463
             Project: ZooKeeper
          Issue Type: Task
          Components: build
    Affects Versions: 3.4.14, 3.5.5, 3.6.0
            Reporter: Andor Molnar
            Assignee: Andor Molnar


"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:
{noformat}
<configuration>
  <showWarnings>true</showWarnings>
  <compilerArgs>
    ...
    <compilerArg>-Xdoclint:-missing</compilerArg>
    ...
 </compilerArgs>
</configuration>{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)