class VerifyMojo extends AbstractITestMojo {

    List<CheckReport> collectReports() throws MojoFailureException {
        List<CheckReport> reports;
        try {
            reports = new ArrayList<>(readReportsFromFile(summaryFile));
            if (summaryFiles != null) {
                for (File file : summaryFiles) {
                    reports.addAll(readReportsFromFile(file));
                }
            }
        } catch (final Exception e) {
            throw new MojoFailureException("Failed to read check report summary file.", e);
        }
        return reports;
    }

}