From 390c80165538f0562ee3c909211c7e72b9966a20 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 3 Jul 2013 14:24:11 +0200 Subject: SONAR-4433 refactor the extension point ProjectBootstrapper --- .../src/main/java/org/sonar/maven/SonarMojo.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sonar-maven-plugin') 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"); -- cgit v1.2.3