/** * {@inheritDoc} */ @Override protected void executeReport(final Locale locale) throws MavenReportException { if (canGenerateReport()) { super.executeReport(locale); final IndexProvider indexChecker = new IndexProvider(serOutputDirectory); final ReportConfig reportConfig = createReportConfig(); testDocHelper = indexChecker.createHelper(reportConfig); if (testDocHelper.isIndexProvided()) { exportIndex(locale); } else { getLog().info( "No test doc information found, no report will be generated."); } } else { getLog().debug("Skipping testdoc report."); } }
/** * {@inheritDoc} */ @Override protected void executeReport(final Locale locale) throws MavenReportException { if (canGenerateReport()) { super.executeReport(locale); final IndexProvider indexChecker = new IndexProvider(serOutputDirectory); final ReportConfig reportConfig = createReportConfig(); testDocHelper = indexChecker.createHelper(reportConfig); if (testDocHelper.isIndexProvided()) { exportIndex(locale); } else { getLog().info( "No test doc information found, no report will be generated."); } } else { getLog().debug("Skipping testdoc report."); } }