From c95bacfa2afa85017a56d41ab03132133f5855a7 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 428be16dd16..da7ca46e4cf 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -1844,11 +1844,12 @@ true ${javac.version} ${javac.version} - - - - 9999 - + + -Xlint + -Xlint:unchecked + -Xmaxwarns + 9999 +