diff --git a/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java index c00c6fc9..7044cca5 100644 --- a/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java +++ b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java @@ -69,7 +69,7 @@ protected void executeReport( Locale locale ) throws MavenReportException Sink anotherSink; try { - anotherSink = getSinkFactory().createSink( outputDirectory, "another-page.html" ); + anotherSink = getSinkFactory().createSink( getReportOutputDirectory(), "another-page.html" ); } catch ( IOException e ) { @@ -81,7 +81,7 @@ protected void executeReport( Locale locale ) throws MavenReportException anotherSink.text( "Another Sink" ); // Create a new sink, in a subdirectory - File subDirectory = new File( outputDirectory, "sub" ); + File subDirectory = new File( getReportOutputDirectory(), "sub" ); Sink subDirectorySink; try {