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();
|
String outputDirectory = getOutputDirectory();
|
||||||
|
|
||||||
XhtmlSink sink = getSiteRenderer().createSink( new File( outputDirectory ), outputDirectory,
|
XhtmlSink sink = getSiteRenderer().createSink( new File( outputDirectory ), getOutputName() + ".html",
|
||||||
getOutputName() + ".html",
|
outputDirectory,
|
||||||
getSiteDescriptor(), "maven" );
|
getSiteDescriptor(), "maven" );
|
||||||
|
|
||||||
generate( sink, Locale.ENGLISH );
|
generate( sink, Locale.ENGLISH );
|
||||||
|
|
||||||
|
getSiteRenderer().copyResources( outputDirectory, "maven" );
|
||||||
}
|
}
|
||||||
catch ( Exception e )
|
catch ( Exception e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue