Merge pull request #846 from mattnelson/check_populateSettings

Call populateSettings in CheckMojo#canGenerateReport to address NPE
This commit is contained in:
Jeremy Long
2017-08-19 12:58:40 -04:00
committed by GitHub

View File

@@ -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())) {