jcgay / maven-color

A colorized Maven console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatible with checkstyle plugin

mattnelson opened this issue · comments

When running the mvn checkstyle:check the build fails.

Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (default-cli) on project my-project-parent: Execution default-cli of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
-----------------------------------------------------
realm =    plugin>org.apache.maven.plugins:maven-checkstyle-plugin:2.17
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

This is a known problem, a workaround is available here: https://github.com/jcgay/maven-color/wiki/Problems
Let me know if that helps !

Thanks, that fixed it.