This is an automated email from the ASF dual-hosted git repository.
nkalmar pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new e27eab6 ZOOKEEPER-3463: Enable warning messages in maven compiler
plugin (3.5)
e27eab6 is described below
commit e27eab65c546a991a226dac2684a64df6a17770c
Author: Andor Molnar <[email protected]>
AuthorDate: Wed Jul 24 15:43:38 2019 +0200
ZOOKEEPER-3463: Enable warning messages in maven compiler plugin (3.5)
Backported changes from #1016
eolivelli ptal.
Author: Andor Molnar <[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar
<[email protected]>
Closes #1018 from anmolnar/ZOOKEEPER-3463_35
---
pom.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index aa3fdd9..13a8c21 100755
--- a/pom.xml
+++ b/pom.xml
@@ -454,10 +454,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
- <compilerArgs>
+ <showWarnings>true</showWarnings>
+ <compilerArgs>
<compilerArg>-Werror</compilerArg>
<compilerArg>-Xlint:deprecation</compilerArg>
<compilerArg>-Xlint:unchecked</compilerArg>
+ <compilerArg>-Xlint:-options</compilerArg>
+ <compilerArg>-Xdoclint:-missing</compilerArg>
<!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
<compilerArg>-Xpkginfo:always</compilerArg>
</compilerArgs>