a.setTabWidth(tabWidth);
ParsedSourceSet pss = a.analyze(new Listener(getLog()));
addDependencies(pss.getDependencies());
// TODO: support i18n and use locale for HTML generation
FrameSetGenerator fsg = new FrameSetGenerator(pss);
fsg.setTitle(windowTitle);
fsg.generateAll(new File(getDestinationDirectory()));
} catch (IOException e) {
throw new MavenReportException("Error while generating the HTML source code of the projet.", e);
} catch (DependencyResolutionRequiredException e) {
throw new MavenReportException("Failed to resolve dependencies",e);
}