diff --git a/hadoop-common-project/hadoop-kms/pom.xml b/hadoop-common-project/hadoop-kms/pom.xml
index 41c36e8e005..b1e7da41299 100644
--- a/hadoop-common-project/hadoop-kms/pom.xml
+++ b/hadoop-common-project/hadoop-kms/pom.xml
@@ -228,7 +228,21 @@
-
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+ prepare-test-jar
+ prepare-package
+
+ test-jar
+
+
+
+
+
org.codehaus.mojo
findbugs-maven-plugin
diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
index 770dd390a4f..f5fd6a7e53a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
@@ -195,8 +195,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
org.apache.hadoop
hadoop-kms
- classes
- jar
test
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index e35e9ca70c5..844887d9ff1 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -492,8 +492,6 @@
org.apache.hadoop
hadoop-kms
${project.version}
- classes
- jar
org.apache.hadoop