use of org.sonar.scanner.rule.RulesProfileProvider in project sonarqube by SonarSource.
the class ModuleScanContainer method addCoreComponents.
private void addCoreComponents() {
add(module.definition(), // still injected by some plugins
new Project(module.definition()), module, ModuleSettings.class);
if (getComponentByType(AnalysisMode.class).isIssues()) {
add(IssuesPhaseExecutor.class, IssuesReports.class);
} else {
add(PublishPhaseExecutor.class);
}
add(EventBus.class, RuleFinderCompatibility.class, PostJobsExecutor.class, SensorsExecutor.class, InitializersExecutor.class, // file system
ModuleInputComponentStore.class, FileExclusions.class, ExclusionFilters.class, new MetadataGeneratorProvider(), FileMetadata.class, StatusDetectionFactory.class, LanguageDetection.class, FileIndexer.class, InputFileBuilder.class, FileSystemLogger.class, DefaultModuleFileSystem.class, ModuleFileSystemInitializer.class, QProfileVerifier.class, SensorOptimizer.class, PostJobOptimizer.class, DefaultPostJobContext.class, DefaultSensorStorage.class, DeprecatedSensorContext.class, ScannerExtensionDictionnary.class, IssueFilters.class, CoverageExclusions.class, SensorStrategy.class, // rules
new RulesProfileProvider(), CheckFactory.class, // issues
IssuableFactory.class, ModuleIssues.class, org.sonar.api.issue.NoSonarFilter.class, // issue exclusions
IssueInclusionPatternInitializer.class, IssueExclusionPatternInitializer.class, IssueExclusionsRegexpScanner.class, IssueExclusionsLoader.class, EnforceIssuesFilter.class, IgnoreIssuesFilter.class, // Perspectives
ScannerPerspectives.class, HighlightableBuilder.class, SymbolizableBuilder.class, DefaultFileLinesContextFactory.class);
}
Aggregations