changed the coordinates according to the pom file details

This commit is contained in:
Prakhash
2017-03-13 15:52:50 +05:30
parent 3bb6553111
commit 2b04c6a7dd
6 changed files with 34 additions and 3 deletions

View File

@@ -1016,7 +1016,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
getLog().debug("Unable to retrieve DB Properties", ex);
}
}
final ReportGenerator r = new ReportGenerator(p.getName(), engine.getDependencies(), engine.getAnalyzers(), prop);
final ReportGenerator r = new ReportGenerator(p.getName(),p.getVersion(),p.getArtifactId(),p.getGroupId(), engine.getDependencies(), engine.getAnalyzers(), prop);
try {
r.generateReports(outputDir.getAbsolutePath(), format);
} catch (ReportException ex) {