diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 3a44e8c1894..d5aee4b5985 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1654,6 +1654,11 @@
${javac.version}
false
+
+
+ -h
+ ${project.build.directory}/native/javah/
+
@@ -2120,27 +2125,6 @@
-
- native
-
- false
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
-
-
- -h
- ${project.build.directory}/native/javah/
-
-
-
-
-
-