diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 9f588b80b2..bf9d997151 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -746,6 +746,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11955. Fix a typo in the cluster setup doc.
(Yanjun Wang via aajisaka)
+ HADOOP-11743. maven doesn't clean all the site files
+ (ramtin via vinayakumarb)
+
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES
diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml
index bb735c2e78..6f9ecf7a3a 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -942,7 +942,8 @@
src/site/markdown/release
- ${project.version}
+ ${project.version}/
+ index.md
false
diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
index c11b963e9c..1edb67dda6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
@@ -395,6 +395,21 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ maven-clean-plugin
+
+
+
+ src/site/resources
+
+ configuration.xsl
+ hdfs-default.xml
+
+ false
+
+
+
+
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml
index c524b60bdb..61f3c533b8 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml
@@ -97,6 +97,21 @@
+
+ maven-clean-plugin
+
+
+
+ src/site/resources
+
+ configuration.xsl
+ mapred-default.xml
+
+ false
+
+
+
+
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml
index bbf9d859ab..602fcd7185 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml
@@ -293,7 +293,21 @@
-
+
+ maven-clean-plugin
+
+
+
+ src/site/resources
+
+ configuration.xsl
+ yarn-default.xml
+
+ false
+
+
+
+
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml
index 2823f2cd7d..18040b405d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml
@@ -149,6 +149,20 @@
+
+ maven-clean-plugin
+
+
+
+ src/site/resources
+
+ configuration.xsl
+
+ false
+
+
+
+