class HTMLReportGenerator extends AbstractGenerator {

    @Override
    public Map<String, IAttachable> produce(Collection<Artifact> artifacts){
        Path copiedReportStyle = context.getToolConfiguration()
                .getAntennaTargetDirectory()
                .resolve(LICENSE_REPORT_STYLE_FILE);

        Set<ArtifactForHTMLReport> artifactsForHTMLReport = extractRelevantArtifactInformation(artifacts);

        writeReportToFile(artifactsForHTMLReport, licenseReport.toFile());
        try {
            FileUtils.copyURLToFile(licenseReportStyle, copiedReportStyle.toFile());
        } catch (IOException e) {
            throw new ExecutionException("Cannot write HTML style file", e);
        }

        return Collections.singletonMap(IDENTIFIER, new Attachable(TYPE, CLASSIFIER, licenseReport.toFile()));
    }

    public  HTMLReportGenerator();

}