diff options
Diffstat (limited to 'sonar-maven-plugin')
-rw-r--r-- | sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java index 0bb664d9ffc..dc1c764a51e 100644 --- a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java +++ b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java @@ -154,11 +154,11 @@ public final class SonarMojo extends AbstractMojo { // .unmask("org.slf4j.impl.") .mask("org.slf4j.") // Exclude logback - .mask("ch.qos.logback."); - runner.mask("org.sonar."); - // Include everything else - runner.unmask("") - .addExtensions(session, getLog(), lifecycleExecutor, artifactFactory, localRepository, artifactMetadataSource, artifactCollector, + .mask("ch.qos.logback.") + .mask("org.sonar.") + // Include everything else + .unmask(""); + runner.addExtensions(session, getLog(), lifecycleExecutor, artifactFactory, localRepository, artifactMetadataSource, artifactCollector, dependencyTreeBuilder, projectBuilder); if (getLog().isDebugEnabled()) { runner.setProperty("sonar.verbose", "true"); |