diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-submarine.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-submarine.xml new file mode 100644 index 00000000000..b1e039fd501 --- /dev/null +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-submarine.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/pom.xml b/pom.xml index d5b85956a79..a630d403f80 100644 --- a/pom.xml +++ b/pom.xml @@ -641,6 +641,63 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs + + submarine-src + + false + + + + + org.apache.maven.plugins + maven-assembly-plugin + false + + + src-dist + package + + single + + + false + false + hadoop-submarine-${project.version}-src + hadoop-dist/target + + + + hadoop-assemblies/src/main/resources/assemblies/hadoop-src-submarine.xml + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + false + + + src-dist-msg + package + + run + + + + + Hadoop source tar with Submarine source is available at: ${basedir}/hadoop-dist/target/hadoop-${project.version}-src-with-submarine.tar.gz + + + + + + + + + + sign