From a58acd9080ab609db197438d2e5ff9152c91898c Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Thu, 31 May 2018 10:56:17 -0700 Subject: [PATCH] HADOOP-15490:Multiple declaration of maven-enforcer-plugin found in pom.xml. Contributed by Nanda kumar --- pom.xml | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/pom.xml b/pom.xml index 13f92559a6..3695be05af 100644 --- a/pom.xml +++ b/pom.xml @@ -375,6 +375,23 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs pre-site + + enforce-property + + enforce + + + + + hadoop.version + You must set a hadoop.version to be the same as ${project.version} + ${project.version} + The hadoop.version property should be set and should be ${project.version}. + + + true + + @@ -428,30 +445,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs dependency-check-maven ${dependency-check-maven.version} - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-property - - enforce - - - - - hadoop.version - You must set a hadoop.version to be the same as ${project.version} - ${project.version} - The hadoop.version property should be set and should be ${project.version}. - - - true - - - -