Registration error when starting the Maven SonarQube plugin

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?

+4
source share
1 answer

The default replacement of the Maven registration implementation is not currently supported. Ticket Created: http://jira.sonarsource.com/browse/MSONAR-122

+5
source

All Articles