From 0104ab2cc67dfc24d824e057ee6ffb802789e182 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Sun, 19 Nov 2023 21:28:31 +0100 Subject: [PATCH] Fix incorrect config in test-javadoc-test-plugin-config.xml --- .../apache/maven/plugins/javadoc/TestJavadocReportTest.java | 4 ++-- .../test-javadoc-test/test-javadoc-test-plugin-config.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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