zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3463) Enable warning messages in maven compiler plugin
Date Tue, 16 Jul 2019 13:58:00 GMT
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)

Mime
View raw message