mirror of https://github.com/apache/maven.git
Fix report generation in a mojo context.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e3a99cd03
commit
b3d4163c60
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue