Hello, http://jira.codehaus.org/browse/MENFORCER-124 suggests a "Rule-scoped fail property" as feature. My suggestion would be something like this: - Add an optional qualifier per rule which differentiates between INFO, WARNING and ERROR (same as the loglevels) and - Make the rules log with this level on the console and - Make the build optionally fail only if there were violations with log level ERROR.
For backward compatibility when no qualifier is given, rules will default to ERROR. What do you think? Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
