[ https://issues.apache.org/jira/browse/MNG-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853409#comment-15853409 ]
Hudson commented on MNG-5961: ----------------------------- FAILURE: Integrated in Jenkins build maven-3.x #1539 (See [https://builds.apache.org/job/maven-3.x/1539/]) [MNG-5961] Fix the SLF4J logger factory implementation used for LOG4J2 (aheritier: [http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=23ceca36e7c980cc8d8bdc16d64ede98189079aa]) * (edit) maven-embedder/src/main/resources/META-INF/maven/slf4j-configuration.properties > Maven possibly not aware of log4j2 > ---------------------------------- > > Key: MNG-5961 > URL: https://issues.apache.org/jira/browse/MNG-5961 > Project: Maven > Issue Type: Bug > Components: Logging > Affects Versions: 3.3.9 > Reporter: Mike Drob > Assignee: Arnaud HERITIER > Fix For: 3.5.0 > > > Using a fresh install of maven 3.3.9 I followed the steps at > https://garygregory.wordpress.com/2015/03/23/watch-maven-in-color to add > color highlighting to my output. Everything works as expected, however on all > usages I would get the warning: > {noformat} > [WARN] The SLF4J binding actually used is not supported by Maven: > org.apache.logging.slf4j.Log4jLoggerFactory > [WARN] Maven supported bindings are: > [WARN] (from > jar:file:/opt/apache-maven-3.3.9/lib/maven-embedder-3.3.9.jar!/META-INF/maven/slf4j-configuration.properties) > - ch.qos.logback.classic.LoggerContext > - org.slf4j.helpers.Log4jLoggerFactory > - org.slf4j.impl.SimpleLoggerFactory > {noformat} > This looks pretty harmless, and I was able to suppress it by manually adding > the line > {code} > org.apache.logging.slf4j.Log4jLoggerFactory > org.apache.maven.cli.logging.impl.Log4j2Configuration > {code} > to {{/META-INF/maven/slf4j-configuration.properties}} in > {{maven-embedder-3.3.9.jar}}. > I'm not sure that this is a "correct" solution, and I'm not even confident I > could explain what effect it has, hence not posting a patch, but somebody > with more knowledge might be able to triage this better. Or offer an > "official" way to do colorized output. -- This message was sent by Atlassian JIRA (v6.3.15#6346)