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:
Emmanuel Venisse 2005-05-30 23:36:29 +00:00
parent 2e3a99cd03
commit b3d4163c60
1 changed files with 4 additions and 2 deletions

View File

@ -98,11 +98,13 @@ public void execute()
{
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 )
{