diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml
index e31a30af5e..b47b4bcc33 100644
--- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml
+++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml
@@ -58,6 +58,7 @@
**/SecurityAuth.audit*
hadoop-ozone/**
hadoop-hdds/**
+ hadoop-submarine/**
diff --git a/pom.xml b/pom.xml
index 2671f83e91..b8c428cbf2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -406,8 +406,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
**/*.js
hadoop-hdds/**/
hadoop-ozone/**/
- hadoop-submarine/target/**
- hadoop-submarine/**/target/**
+ hadoop-submarine/**/
licenses/**
licenses-binary/**