From 4981716ab544a5ed071f40faf249f88e6b1e5cd6 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Fri, 23 Mar 2018 21:43:13 -0700 Subject: [PATCH] HDFS-13335. Ozone: remove hdsl/cblock/ozone source code from the official apache source release artifact. Contributed by Elek, Marton. --- .../assemblies/hadoop-src-with-hdsl.xml | 56 +++++++++++++++++++ .../main/resources/assemblies/hadoop-src.xml | 3 + pom.xml | 56 +++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml new file mode 100644 index 0000000000..b1e039fd50 --- /dev/null +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml @@ -0,0 +1,56 @@ + + + hadoop-src + + tar.gz + + true + + + . + + LICENCE.txt + README.txt + NOTICE.txt + + + + . + true + + .git/** + **/.gitignore + **/.svn + **/*.iws + **/*.ipr + **/*.iml + **/.classpath + **/.project + **/.settings + **/target/** + + **/*.log + **/build/** + **/file:/** + **/SecurityAuth.audit* + + + + diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml index b1e039fd50..bafa12b80d 100644 --- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml @@ -50,6 +50,9 @@ **/build/** **/file:/** **/SecurityAuth.audit* + hadoop-ozone/** + hadoop-hdsl/** + hadoop-cblock/** diff --git a/pom.xml b/pom.xml index babb59a93c..ba08c26bc8 100644 --- a/pom.xml +++ b/pom.xml @@ -587,6 +587,62 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs + + hdsl-src + + false + + + + + org.apache.maven.plugins + maven-assembly-plugin + false + + + src-dist + package + + single + + + false + false + hadoop-${project.version}-src-with-hdsl + hadoop-dist/target + + + + hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + false + + + src-dist-msg + package + + run + + + + + Hadoop source tar (including HDSL) available at: ${basedir}/hadoop-dist/target/hadoop-${project.version}-src-with-hdsl.tar.gz + + + + + + + + + sign