maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Friedenhagen <mfriedenha...@gmail.com>
Subject Re: enforcer: Differentiate between INFO, WARNING and ERROR per rule
Date Tue, 13 Mar 2012 20:31:12 GMT
No thoughts about this? Should I just create a new ticket for this :-)?
Regards Mirko

On Wed, Mar 7, 2012 at 21:16, Mirko Friedenhagen
<mfriedenhagen@gmail.com> wrote:
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message