fabric8io / docker-maven-plugin

Maven plugin for running and creating Docker images
https://dmp.fabric8.io
Apache License 2.0
1.88k stars 642 forks source link

Integrate with Maven Color #629

Open gquintana opened 7 years ago

gquintana commented 7 years ago

Install Maven Color on Maven https://github.com/jcgay/maven-color/wiki/Installation Run a Maven build containing docker-maven-plugin It fails in Maven because of a SLF4J conflict:

Failed to execute goal io.fabric8:docker-maven-plugin:0.18.1:start (docker-start) on project test-dmp: Execution docker-start of goal io.fabric8:docker-maven-plugin:0.18.1:start failed: An API incompatibility was encountered while executing io.fabric8:docker-maven-plugin:0.18.1:start: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

Plugin has dependencies:

Maven uses apache-maven-3.3.9/lib/slf4j-api-1.7.5.jar

Info

mattnelson commented 7 years ago

I used the workaround documented on the maven-color wiki to get around this.

https://github.com/jcgay/maven-color/wiki/Problems