ajarmoniuk commented on code in PR #198:
URL: https://github.com/apache/maven-enforcer/pull/198#discussion_r1056198836


##########
enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:
##########
@@ -29,12 +28,13 @@
  */
 public class BannedPlugins extends BannedDependencies {
     @Override
-    protected Set<Artifact> getDependenciesToCheck(ProjectBuildingRequest 
buildingRequest) {
-        return buildingRequest.getProject().getPluginArtifacts();

Review Comment:
   Corrected that, and added a simple test on banned dependencies failure.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to