jcgay / maven-color

A colorized Maven console
MIT License
177 stars 20 forks source link

Incompatible with checkstyle plugin #25

Closed mattnelson closed 8 years ago

mattnelson commented 8 years ago

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
jcgay commented 8 years ago

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

mattnelson commented 8 years ago

Thanks, that fixed it.