4.0.0 org.apache.hadoop hadoop-project 3.5.0-SNAPSHOT ../hadoop-project hadoop-yarn-project 3.5.0-SNAPSHOT pom Apache Hadoop YARN Project https://hadoop.apache.org/yarn/ true 600000 once yarn true pom 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-server-globalpolicygenerator org.apache.hadoop hadoop-yarn-services-core org.apache.hadoop hadoop-yarn-applications-catalog-webapp war org.apache.hadoop hadoop-yarn-applications-distributedshell provided org.apache.hadoop hadoop-yarn-applications-unmanaged-am-launcher ${project.version} provided org.apache.hadoop hadoop-yarn-server-tests ${project.version} provided org.apache.hadoop hadoop-yarn-server-timelineservice-hbase-client ${project.version} provided com.google.errorprone error_prone_annotations org.codehaus.mojo animal-sniffer-annotations org.apache.hadoop hadoop-yarn-csi ${project.version} provided org.apache.hadoop hadoop-yarn-server-timelineservice-documentstore ${project.version} provided org.apache.hadoop hadoop-yarn-server-timelineservice-hbase-tests ${project.version} provided org.apache.hadoop hadoop-yarn-ui ${project.version} ${yarn.ui.packaging} provided maven-antrun-plugin tar package run cd "${project.build.directory}" tar cf - ${project.artifactId}-${project.version} | gzip > ${project.artifactId}-${project.version}.tar.gz yarn-ui war hbase1 org.apache.hadoop hadoop-yarn-server-timelineservice-hbase-server-1 ${project.version} hbase2 org.apache.hadoop hadoop-yarn-server-timelineservice-hbase-server-2 ${project.version} 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