diff --git a/src/test/java/org/apache/maven/plugins/javadoc/TestJavadocReportTest.java b/src/test/java/org/apache/maven/plugins/javadoc/TestJavadocReportTest.java
index ad2cfa663..c7c7ba6d1 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/TestJavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/TestJavadocReportTest.java
@@ -56,10 +56,10 @@ public void testTestJavadoc() throws Exception {
mojo.execute();
File generatedFile =
- new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/apidocs/maven/AppTest.html");
+ new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/testapidocs/maven/AppTest.html");
assertThat(generatedFile).exists();
- File options = new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/apidocs/options");
+ File options = new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/testapidocs/options");
assertThat(FileUtils.fileRead(options)).contains("junit-3.8.1.jar");
}
}
diff --git a/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml b/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
index bf0b5ffa7..8c9d84395 100644
--- a/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
+++ b/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
@@ -48,7 +48,7 @@ under the License.
true
- ${basedir}/src/test/resources/unit/test-javadoc-test/src/test/javadoc
+ ${basedir}/src/test/resources/unit/test-javadoc-test/src/test/javadoc
java
true
true