diff --git a/hadoop-hdds/pom.xml b/hadoop-hdds/pom.xml index 47ea4187c282..6ebccf7bc8cf 100644 --- a/hadoop-hdds/pom.xml +++ b/hadoop-hdds/pom.xml @@ -283,25 +283,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> - - org.apache.maven.plugins - maven-dependency-plugin - - - add-classpath-descriptor - prepare-package - - build-classpath - - - ${project.build.outputDirectory}/${project.artifactId}.classpath - $HDDS_LIB_JARS_DIR - true - runtime - - - - org.apache.maven.plugins maven-jar-plugin @@ -364,5 +345,36 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> + + add-classpath-descriptor + + + src/main/java + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + add-classpath-descriptor + prepare-package + + build-classpath + + + ${project.build.outputDirectory}/${project.artifactId}.classpath + $HDDS_LIB_JARS_DIR + true + runtime + + + + + + + diff --git a/hadoop-ozone/datanode/pom.xml b/hadoop-ozone/datanode/pom.xml index 1c8d81e52fcc..29f23970167a 100644 --- a/hadoop-ozone/datanode/pom.xml +++ b/hadoop-ozone/datanode/pom.xml @@ -64,4 +64,27 @@ activation + + + + org.apache.maven.plugins + maven-dependency-plugin + + + add-classpath-descriptor + prepare-package + + build-classpath + + + ${project.build.outputDirectory}/${project.artifactId}.classpath + $HDDS_LIB_JARS_DIR + true + runtime + + + + + + diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml index a9d877170bff..c1da927cd4d0 100644 --- a/hadoop-ozone/dist/pom.xml +++ b/hadoop-ozone/dist/pom.xml @@ -33,6 +33,30 @@ + + org.codehaus.mojo + exec-maven-plugin + + + dist + prepare-package + + exec + + + ${shell-executable} + ${project.build.directory} + + + ${basedir}/dev-support/bin/dist-layout-stitching + + ${project.build.directory} + ${hdds.version} + + + + + org.apache.maven.plugins maven-dependency-plugin @@ -138,30 +162,6 @@ - - org.codehaus.mojo - exec-maven-plugin - - - dist - prepare-package - - exec - - - ${shell-executable} - ${project.build.directory} - - - ${basedir}/dev-support/bin/dist-layout-stitching - - ${project.build.directory} - ${hdds.version} - - - - - diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml index d56b4f45ef23..444de5fd3ded 100644 --- a/hadoop-ozone/pom.xml +++ b/hadoop-ozone/pom.xml @@ -316,25 +316,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - add-classpath-descriptor - prepare-package - - build-classpath - - - ${project.build.outputDirectory}/${project.artifactId}.classpath - $HDDS_LIB_JARS_DIR - true - runtime - - - - org.apache.maven.plugins maven-jar-plugin @@ -434,5 +415,36 @@ + + add-classpath-descriptor + + + src/main/java + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + add-classpath-descriptor + prepare-package + + build-classpath + + + ${project.build.outputDirectory}/${project.artifactId}.classpath + $HDDS_LIB_JARS_DIR + true + runtime + + + + + + +