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

Paul Gier updated MENFORCER-137:
--------------------------------

    Fix Version/s: 1.2
         Assignee: Paul Gier
    
> DependencyConvergence should log only as WARNING instead of ERROR.
> ------------------------------------------------------------------
>
>                 Key: MENFORCER-137
>                 URL: https://jira.codehaus.org/browse/MENFORCER-137
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Improvement
>          Components: Standard Rules
>    Affects Versions: 1.1.1
>            Reporter: Mirko Friedenhagen
>            Assignee: Paul Gier
>            Priority: Minor
>             Fix For: 1.2
>
>
> I find it disturbing that all other rules only log in level WARNING or even 
> INFO, only DependencyConvergence uses ERROR. When looking in e.g. Jenkins for 
> "real" errors I always stumble upon these messages. I therefore suggest 
> turning the log-level down to WARNING. I ran {{mvn clean install -Prun-its}} 
> successfully with my patched version.
> {code}
> # This patch file was generated by NetBeans IDE
> # It uses platform neutral UTF-8 encoding and \n newlines.
> --- HEAD
> +++ Modified In Working Tree
> @@ -123,7 +123,7 @@
>              errorMsgs.addAll( getConvergenceErrorMsgs( 
> visitor.getConflictedVersionNumbers() ) );
>              for ( CharSequence errorMsg : errorMsgs )
>              {
> -                log.error( errorMsg );
> \ No newline at end of file
> +                log.warn( errorMsg );
> \ No newline at end of file
>              }
>              if ( errorMsgs.size() > 0 )
>              {
> {code}

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

        

Reply via email to