From 2078884b360db0e28fb5a3ad80b1dacedc09545d Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Wed, 21 Mar 2018 10:49:15 -0700 Subject: [PATCH] HDFS-13317. Ozone: docker-compose should only be copied to hadoop-dist if Phdsl is enabled. Contributed by Xiaoyu Yao. --- hadoop-dist/pom.xml | 78 ++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/hadoop-dist/pom.xml b/hadoop-dist/pom.xml index 6d4798e194..98a9edf709 100644 --- a/hadoop-dist/pom.xml +++ b/hadoop-dist/pom.xml @@ -142,43 +142,6 @@ - - maven-resources-plugin - - - copy-docker-compose - - copy-resources - - prepare-package - - ${project.build.directory}/compose - - - src/main/compose - true - - - - - - copy-dockerfile - - copy-resources - - prepare-package - - ${project.build.directory} - - - src/main/docker - true - - - - - - @@ -299,6 +262,47 @@ hadoop-cblock-tools + + + + maven-resources-plugin + + + copy-docker-compose + + copy-resources + + prepare-package + + ${project.build.directory}/compose + + + src/main/compose + true + + + + + + copy-dockerfile + + copy-resources + + prepare-package + + ${project.build.directory} + + + src/main/docker + true + + + + + + + +