Skip to main content

SonarScanner is a generic scanner for SonarQube for projects do not use any specific build tool like Maven, Gradle, etc.

# To scan a project with configuration file in your project's root directory named 'sonar-project.properties':
sonar-scanner

# To scan a project using configuration file other than 'sonar-project.properties':
sonar-scanner -D<project.settings=myproject.properties>

# To print help information:
sonar-scanner -h

# To print debudgging information:
sonar-scanner -X