diff --git a/BUILDING.txt b/BUILDING.txt
index 14deec89ea3..47aaab446b1 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 b22e90b322e..b98c0588c18 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 212078bbd14..ae5a7e60631 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 cf432186022..018ff1ca711 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 0590d003557..3f2ef25e89e 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 12e46049a77..904fce2375e 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">