From ea9f43781e5a9a4a6121dd3be106ced6b811754d 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) --- hadoop-build-tools/pom.xml | 44 +++++++++++++++++++++++++++++++++++++- pom.xml | 26 ---------------------- 2 files changed, 43 insertions(+), 27 deletions(-) diff --git a/hadoop-build-tools/pom.xml b/hadoop-build-tools/pom.xml index e84c94fa51..b80cf57852 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 @@ -69,4 +111,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 6e66f8b78f..ac3bec6672 100644 --- a/pom.xml +++ b/pom.xml @@ -413,32 +413,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 - - - - - - - - - - - - - -