Search in sources :

Example 1 with ProjectScanContainer

use of org.sonar.scanner.scan.ProjectScanContainer in project sonarqube by SonarSource.

the class ScanTask method execute.

@Override
public void execute() {
    AnalysisProperties props = new AnalysisProperties(taskProps.properties(), taskProps.property(CoreProperties.ENCRYPTION_SECRET_KEY_PATH));
    new ProjectScanContainer(taskContainer, props).execute();
}
Also used : AnalysisProperties(org.sonar.scanner.analysis.AnalysisProperties) ProjectScanContainer(org.sonar.scanner.scan.ProjectScanContainer)

Aggregations

AnalysisProperties (org.sonar.scanner.analysis.AnalysisProperties)1 ProjectScanContainer (org.sonar.scanner.scan.ProjectScanContainer)1