You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by eo...@apache.org on 2019/07/19 11:08:41 UTC

[zookeeper] branch master updated: ZOOKEEPER-3463: Enable warning messages in maven compiler plugin

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 4212f86  ZOOKEEPER-3463: Enable warning messages in maven compiler plugin
4212f86 is described below

commit 4212f865d67b9c7860c1da071f3997b0a5b5387e
Author: Andor Molnar <an...@apache.org>
AuthorDate: Fri Jul 19 13:08:30 2019 +0200

    ZOOKEEPER-3463: Enable warning messages in maven compiler plugin
    
    https://issues.apache.org/jira/browse/ZOOKEEPER-3463
    
    Author: Andor Molnar <an...@apache.org>
    
    Reviewers: Enrico Olivelli <eo...@apache.org>, Norbert Kalmar <nk...@apache.org>
    
    Closes #1016 from anmolnar/ZOOKEEPER-3463
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 2097452..e06dc48 100755
--- a/pom.xml
+++ b/pom.xml
@@ -473,11 +473,13 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.8.0</version>
           <configuration>
+             <showWarnings>true</showWarnings>
              <compilerArgs>
                <compilerArg>-Werror</compilerArg>
                <compilerArg>-Xlint:deprecation</compilerArg>
                <compilerArg>-Xlint:unchecked</compilerArg>
-               <compilerArg>-Xdoclint</compilerArg>
+               <compilerArg>-Xlint:-options</compilerArg>
+               <compilerArg>-Xdoclint:-missing</compilerArg>
                <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
                <compilerArg>-Xpkginfo:always</compilerArg>
               </compilerArgs>