Since SonarQube 5.0, there is a built-in support for SCM information on source files.
Supported SCM engines
SCM providers are supported through dedicated plugins. See "SCM Engines" in the "Plugin Library" page.
Disabling SCM support
It is possible to disable SCM support in the "General Settings > SCM" administration page or setting property
sonar.scm.disabled=true during project analysis.