mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
Call populateSettings in CheckMojo#canGenerateReport to address NPE
This commit is contained in:
@@ -62,6 +62,7 @@ public class CheckMojo extends BaseDependencyCheckMojo {
|
||||
*/
|
||||
@Override
|
||||
public boolean canGenerateReport() {
|
||||
populateSettings();
|
||||
boolean isCapable = false;
|
||||
for (Artifact a : getProject().getArtifacts()) {
|
||||
if (!getArtifactScopeExcluded().passes(a.getScope())) {
|
||||
|
||||
Reference in New Issue
Block a user