From e051a47785f6dba3eb28add74d6f43d8daf1b728 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 4 Dec 2017 16:54:01 -0600 Subject: [PATCH] HBASE-19422 Provide clear error message on use of wrong hadoop-profile property Signed-off-by: Apekshit Sharma --- pom.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e6786088de2..0f19a30f8ff 100644 --- a/pom.xml +++ b/pom.xml @@ -945,12 +945,17 @@ - min-maven-min-java-banned-xerces + hadoop-profile-min-maven-min-java-banned-xerces enforce + + + System.getProperty("hadoop-profile", "").isEmpty() + The hadoop-profile property is unused, did you mean to set hadoop.profile instead? + [${maven.min.version},)