I had a problem with the Maven SonarQube plugin (v2.6) when the Maven version was recently (strictly over 3.1).
Here is what I run:
mvn clean verify -Psonar
mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar -Psonar
The first call allows you to compile the sources and prepare the JaCoCo agent.
The interesting part appears when the second command is executed:
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project merlin-schema: Error setting Log implementation. Cause: java.lang.reflect.InvocationTargetException: org/slf4j/Marker -> [Help 1]
Any fix for posting?
source
share