initial fix for CveDB singleton

This commit is contained in:
Jeremy Long
2017-03-25 09:05:51 -04:00
parent 97b2e1a4da
commit a23d127c62
18 changed files with 108 additions and 59 deletions

View File

@@ -1017,6 +1017,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
}
}
final ReportGenerator r = new ReportGenerator(p.getName(), engine.getDependencies(), engine.getAnalyzers(), prop);
CveDB.close();
try {
r.generateReports(outputDir.getAbsolutePath(), format);
} catch (ReportException ex) {