aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
diff options
context:
space:
mode:
authorBenoƮt Gianinetti <benoit.gianinetti@sonarsource.com>2019-01-14 15:48:20 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-22 20:21:02 +0100
commitd4dc6786fb05dec7e415af2c13ba27669d26d6b0 (patch)
tree885e6524a30f23a856e076f46e32d23ab155e1de /plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
parent93ae9e4354431a59c44a26350b70691cb9a6de3d (diff)
downloadsonarqube-d4dc6786fb05dec7e415af2c13ba27669d26d6b0.tar.gz
sonarqube-d4dc6786fb05dec7e415af2c13ba27669d26d6b0.zip
SONAR-11621 Implement IgnoreCommand in Xoo plugin
Diffstat (limited to 'plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
index 8817e5575ec..8378ddd5ab4 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
@@ -74,6 +74,7 @@ import org.sonar.xoo.rule.XooFakeImporterWithMessages;
import org.sonar.xoo.rule.XooRulesDefinition;
import org.sonar.xoo.rule.XooSonarWayProfile;
import org.sonar.xoo.scm.XooBlameCommand;
+import org.sonar.xoo.scm.XooIgnoreCommand;
import org.sonar.xoo.scm.XooScmProvider;
import org.sonar.xoo.test.CoveragePerTestSensor;
import org.sonar.xoo.test.TestExecutionSensor;
@@ -174,7 +175,9 @@ public class XooPlugin implements Plugin {
context.addExtension(DeprecatedGlobalSensor.class);
}
if (context.getSonarQubeVersion().isGreaterThanOrEqual(Version.create(7, 6))) {
- context.addExtension(GlobalProjectSensor.class);
+ context.addExtensions(
+ GlobalProjectSensor.class,
+ XooIgnoreCommand.class);
}
if (context.getSonarQubeVersion().isGreaterThanOrEqual(Version.create(7, 2))) {
context.addExtensions(