diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml index 4055acb3d81..a5c3c0e4b30 100644 --- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml @@ -220,6 +220,10 @@ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common/target/lib share/hadoop/${hadoop.component}/timelineservice/lib + + hadoop-yarn/hadoop-yarn-csi/target/lib + share/hadoop/${hadoop.component}/csi/lib + diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml index 27d8452d908..1a19f0e573a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml @@ -86,14 +86,17 @@ org.apache.hadoop hadoop-common + provided org.apache.hadoop hadoop-yarn-common + provided org.apache.hadoop hadoop-yarn-api + provided javax.annotation @@ -114,6 +117,18 @@ org.apache.maven.plugins maven-dependency-plugin + + + package + + copy-dependencies + + + runtime + ${project.build.directory}/lib + + + org.apache.maven.plugins @@ -147,69 +162,6 @@ - - org.apache.maven.plugins - maven-shade-plugin - ${maven-shade-plugin.version} - - false - - - - package - - shade - - - - - io.grpc - csi.io.grpc - - - - com.google - csi.com.google - - - io.netty - csi.io.netty - - - - - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - unpack - package - - - - - - - - - - - - run - - - - org.apache.rat apache-rat-plugin