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


##########
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:
   This is important ... each extended rule must provided a dependency to check 
in BannedDependencies



-- 
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