fbiville
fbiville

Reputation: 8950

Logging error when executing Maven SonarQube plugin

I've been facing an issue with Maven SonarQube plugin (v2.6) when Maven version is recent (strictly larger than 3.1).

Here is what I run:

mvn clean verify -Psonar
mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar -Psonar

The first invocation makes sure sources are compiled and JaCoCo agent is prepared.

The interesting part comes, when the second command is run:

[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 to be published?

Upvotes: 4

Views: 1630

Answers (1)

Replacing default Maven logging implementation is currently not supported. Ticket created: http://jira.sonarsource.com/browse/MSONAR-122

Upvotes: 5

Related Questions