[ 
https://jira.codehaus.org/browse/MENFORCER-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mirko Friedenhagen updated MENFORCER-160:
-----------------------------------------

    Issue Type: New Feature  (was: Bug)
    
> Add levels ERROR and WARN to enforcer rules
> -------------------------------------------
>
>                 Key: MENFORCER-160
>                 URL: https://jira.codehaus.org/browse/MENFORCER-160
>             Project: Maven Enforcer Plugin
>          Issue Type: New Feature
>          Components: Plugin, Rule API, Standard Rules
>    Affects Versions: 1.3.1
>            Reporter: Mirko Friedenhagen
>            Assignee: Olivier Lamy
>             Fix For: 1.3.2
>
>         Attachments: enable-level.patch
>
>
> As suggested in MENFORCER-159, it would be more feasible just have one goal 
> but be able to differentiate via a level between rules which should fail the 
> build and ones which only warn. I tried to be backwards compatible.
> See https://github.com/apache/maven-enforcer/pull/5 as well, sample 
> configuration for WARN can be seen at 
> https://github.com/mfriedenhagen/maven-enforcer/blob/6482333e64e67031e19cb5b928d5ad2ce896f38a/maven-enforcer-plugin/src/it/projects/always-fail-warn/pom.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to