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 0000000000..b1e039fd50 --- /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 c77ec4baea..165052e590 100644 --- a/pom.xml +++ b/pom.xml @@ -641,6 +641,63 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x + + 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