diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 7537a83a52e..c7c5a7200f1 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1372,7 +1372,7 @@
${test.build.data}
${test.build.webapps}
${test.cache.data}
- ${project.build.directory}/test-classes
+ ${test.build.classes}
true
${project.build.directory}/test-classes/krb5.conf