4.0.0 org.apache.hadoop hadoop-project 3.3.6 ../hadoop-project hadoop-yarn-project 3.3.6 pom Apache Hadoop YARN Project https://hadoop.apache.org/yarn/ true 600000 once yarn true hadoop-yarn org.apache.hadoop hadoop-yarn-api org.apache.hadoop hadoop-yarn-client org.apache.hadoop hadoop-yarn-common org.apache.hadoop hadoop-yarn-server-common org.apache.hadoop hadoop-yarn-server-nodemanager org.apache.hadoop hadoop-yarn-server-resourcemanager org.apache.hadoop hadoop-yarn-server-web-proxy org.apache.hadoop hadoop-yarn-server-router org.apache.hadoop hadoop-yarn-services-core maven-antrun-plugin tar package run cd "${project.build.directory}" tar cf - ${project.artifactId}-${project.version} | gzip > ${project.artifactId}-${project.version}.tar.gz dist false maven-source-plugin attach-sources jar-no-fork org.apache.maven.plugins maven-assembly-plugin org.apache.hadoop hadoop-assemblies ${project.version} gnu false false ${project.artifactId}-${project.version} hadoop-yarn-dist package-yarn prepare-package single org.apache.maven.plugins maven-antrun-plugin dist prepare-package run yarnjardir="${project.build.directory}/${project.artifactId}-${project.version}/share/hadoop/yarn" yarnlibdir="${yarnjardir}/lib/" cd "${yarnjardir}/timelineservice/lib" for jar in `ls` do if [ -f "${yarnlibdir}""${jar}" ];then rm -rf ${jar} echo "Removing duplicate jar $jar from share/hadoop/yarn/timelineservice/lib folder" fi done com.github.spotbugs spotbugs-maven-plugin true