diff --git a/BUILDING.txt b/BUILDING.txt
index 14deec89ea..47aaab446b 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -308,6 +308,8 @@ Create a local staging version of the website (in /tmp/hadoop-site)
$ mvn clean site -Preleasedocs; mvn site:stage -DstagingDirectory=/tmp/hadoop-site
+Note that the site needs to be built in a second pass after other artifacts.
+
----------------------------------------------------------------------------------
Installing Hadoop
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index b22e90b322..b98c0588c1 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -564,6 +564,7 @@ function makearelease
"${MVN}" "${MVN_ARGS[@]}" install \
site site:stage \
-DskipTests \
+ -DskipShade \
-Pdist,src \
"${DOCFLAGS}"
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml
index aa7c7b19c4..274a821e76 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml
@@ -196,6 +196,13 @@
-unstable
512m
+
+
+ xerces
+ xercesImpl
+ ${xerces.jdiff.version}
+
+
@@ -238,6 +245,14 @@
${project.build.directory}
hadoop-annotations.jar
+
+ xerces
+ xercesImpl
+ ${xerces.version.jdiff}
+ false
+ ${project.build.directory}
+ xerces.jar
+
@@ -275,7 +290,7 @@
sourceFiles="${dev-support.relative.dir}/jdiff/Null.java"
maxmemory="${jdiff.javadoc.maxmemory}">
+ path="${project.build.directory}/hadoop-annotations.jar:${project.build.directory}/jdiff.jar:${project.build.directory}/xerces.jar">
diff --git a/hadoop-project-dist/pom.xml b/hadoop-project-dist/pom.xml
index addc2a5183..8815dd44e9 100644
--- a/hadoop-project-dist/pom.xml
+++ b/hadoop-project-dist/pom.xml
@@ -152,6 +152,13 @@
512m
+
+
+ xerces
+ xercesImpl
+ ${xerces.jdiff.version}
+
+
@@ -194,6 +201,14 @@
${project.build.directory}
hadoop-annotations.jar
+
+ xerces
+ xercesImpl
+ ${xerces.jdiff.version}
+ false
+ ${project.build.directory}
+ xerces.jar
+
@@ -259,7 +274,7 @@
sourceFiles="${basedir}/dev-support/jdiff/Null.java"
maxmemory="${jdiff.javadoc.maxmemory}">
+ path="${project.build.directory}/hadoop-annotations.jar:${project.build.directory}/jdiff.jar:${project.build.directory}/xerces.jar">
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index b8fb96135e..a698126ba5 100755
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -45,6 +45,8 @@
1.0.9
+
+ 2.11.0
0.8.2.1
1.2.6
diff --git a/hadoop-yarn-project/hadoop-yarn/pom.xml b/hadoop-yarn-project/hadoop-yarn/pom.xml
index be435d5883..288f4bc671 100644
--- a/hadoop-yarn-project/hadoop-yarn/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/pom.xml
@@ -113,6 +113,13 @@
512m
+
+
+ xerces
+ xercesImpl
+ ${xerces.jdiff.version}
+
+
@@ -155,6 +162,14 @@
${project.build.directory}
hadoop-annotations.jar
+
+ xerces
+ xercesImpl
+ ${xerces.version.jdiff}
+ false
+ ${project.build.directory}
+ xerces.jar
+
@@ -193,7 +208,7 @@
sourceFiles="${dev-support.relative.dir}/jdiff/Null.java"
maxmemory="${jdiff.javadoc.maxmemory}">
+ path="${project.build.directory}/hadoop-annotations.jar:${project.build.directory}/jdiff.jar:${project.build.directory}/xerces.jar">