From 99e4e9bad6da6240c24b0991ea46a68a4382715f Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Mon, 26 Apr 2021 18:42:42 -0700 Subject: [PATCH] HADOOP-17661. mvn versions:set fails to parse pom.xml. (#2956) Signed-off-by: Akira Ajisaka Change-Id: I7de255cb9a167e3a5e25ae339b050e82cb4b7c30 (cherry picked from commit 64264d726d81c919d3f682228ff4bd7fe349fcae) --- hadoop-project/pom.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 9d1886b3a3..de9864eb15 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -2267,11 +2267,12 @@ true ${javac.version} ${javac.version} - - - - 9999 - + + -Xlint + -Xlint:unchecked + -Xmaxwarns + 9999 +