From e3c4989d74872e9168efb87c6ef25d500a5994cf Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Sat, 16 Jul 2016 08:01:16 +0900 Subject: [PATCH] HADOOP-13298. Fix the leftover L&N files in hadoop-build-tools/src/main/resources/META-INF/. (ozawa) (cherry picked from commit ea9f43781e5a9a4a6121dd3be106ced6b811754d) --- hadoop-build-tools/pom.xml | 42 ++++++++++++++++++++++++++++++++++++++ pom.xml | 26 ----------------------- 2 files changed, 42 insertions(+), 26 deletions(-) diff --git a/hadoop-build-tools/pom.xml b/hadoop-build-tools/pom.xml index 91d0e844da4..02b78627aa6 100644 --- a/hadoop-build-tools/pom.xml +++ b/hadoop-build-tools/pom.xml @@ -29,6 +29,19 @@ false + + + ${project.basedir}/target/extra-resources + META-INF + + LICENSE.txt + NOTICE.txt + + + + ${project.basedir}/src/main/resources + + org.apache.maven.plugins @@ -37,17 +50,46 @@ true + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-resources + validate + + copy-resources + + + ${project.basedir}/target/extra-resources + + + ../ + + LICENSE.txt + NOTICE.txt + + + + + + + + org.apache.maven.plugins maven-remote-resources-plugin + process-resources bundle + ${project.build.outputDirectory} META-INF/LICENSE.txt META-INF/NOTICE.txt diff --git a/pom.xml b/pom.xml index f594032b178..2977294f4b2 100644 --- a/pom.xml +++ b/pom.xml @@ -303,32 +303,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-antrun-plugin - - - copy-files - process-resources - - run - - - - - - - - - - - - - -