Explorar el Código

ZOOKEEPER-3463: Enable warning messages in maven compiler plugin

https://issues.apache.org/jira/browse/ZOOKEEPER-3463

Author: Andor Molnar <andor@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>

Closes #1016 from anmolnar/ZOOKEEPER-3463
Andor Molnar hace 5 años
padre
commit
4212f865d6
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      pom.xml

+ 3 - 1
pom.xml

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