diff --git a/plugin/src/main/java/org/bonitasoft/plugin/analyze/IncompatibleDependencyValidator.java b/plugin/src/main/java/org/bonitasoft/plugin/analyze/IncompatibleDependencyValidator.java index fe16a0ec..c433a556 100644 --- a/plugin/src/main/java/org/bonitasoft/plugin/analyze/IncompatibleDependencyValidator.java +++ b/plugin/src/main/java/org/bonitasoft/plugin/analyze/IncompatibleDependencyValidator.java @@ -100,7 +100,7 @@ public boolean visit(DependencyNode node) { }); return conflictingNodes.stream() - .map(node -> createIssue(node, project.getArtifact().getId())) + .map(node -> createIssue(node, projectBuildingRequest.getProject().getArtifact().getId())) .collect(Collectors.toList()); } catch (DependencyGraphBuilderException e) { throw new MojoExecutionException("Failed to build dependency graph", e);