Am 2015-12-25 um 16:09 schrieb Gary Gregory:
Hi All,

Happy Holidays.

Can the next version of Maven be rid of this warning:

[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:/E:/Java/apache-maven-3.3.9/bin/../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

Hi Gary,

the file looks odd to me:
org.slf4j.impl.SimpleLoggerFactory 
org.apache.maven.cli.logging.impl.Slf4jSimpleConfiguration
org.slf4j.helpers.Log4jLoggerFactory 
org.apache.maven.cli.logging.impl.Log4j2Configuration
ch.qos.logback.classic.LoggerContext 
org.apache.maven.cli.logging.impl.LogbackConfiguration

I assume that the key is incorrect in your case?
Browsing SLF4J's API, I see org.slf4j.impl.Log4jLoggerFactory only which is for Log4j 1.x.

Can you try a patched build of Maven with the Log4j2 binding?

Moreover, create a JIRA issue for that.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to