in maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java [396:415]
protected void executeReport(Locale locale) throws MavenReportException {
if (skip) {
getLog().info("Skipping JXR.");
return;
}
List<String> sourceDirs = constructSourceDirs();
if (canGenerateReport(sourceDirs)) {
// init some attributes -- TODO (javadoc)
init();
// determine version of templates to use
setJavadocTemplatesVersion();
try {
createXref(locale, getDestinationDirectory(), sourceDirs);
} catch (JxrException | IOException e) {
throw new MavenReportException("Error while generating the HTML source code of the project.", e);
}
}
}