diff --git a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java index 8e70588835..9c4bbb1bc5 100644 --- a/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java +++ b/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java @@ -98,11 +98,13 @@ public abstract class AbstractMavenReport { String outputDirectory = getOutputDirectory(); - XhtmlSink sink = getSiteRenderer().createSink( new File( outputDirectory ), outputDirectory, - getOutputName() + ".html", + XhtmlSink sink = getSiteRenderer().createSink( new File( outputDirectory ), getOutputName() + ".html", + outputDirectory, getSiteDescriptor(), "maven" ); generate( sink, Locale.ENGLISH ); + + getSiteRenderer().copyResources( outputDirectory, "maven" ); } catch ( Exception e ) {