psiroky commented on code in PR #211: URL: https://github.com/apache/maven-enforcer/pull/211#discussion_r1059098261
########## maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java: ########## @@ -127,10 +127,12 @@ public class EnforceMojo extends AbstractMojo { private PlexusConfiguration rules; /** - * List of strings that matches the EnforcerRules to execute. + * List of strings that matches the EnforcerRules to execute. Replacement for the <code>rules</code> property. + * + * @since 3.2.0 */ - @Parameter(required = false, property = "rules") - private List<String> commandLineRules; + @Parameter(required = false, property = "enforcer.rules") Review Comment: It seemed to me it would be more consistent to have it on the field, but I'll move it to the setter then. -- 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