The plugin enables analysis of Groovy projects within SonarQubeTM.
It is compatible with the Issues Report plugin to run pre-commit local analysis.
- Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
- Restart the SonarQubeTM server
Run an Analysis with the SonarQube
To run an analysis of your Groovy project, use the SonarQube TM Runner.
It is possible to reuse a previously generated report from CodeNarc by setting the
The If you're analyzing with Maven, the Groovy source directory must be added to the pom.xml , even if the project is built with Maven. This comes from the fact that SonarQubeTM explicitly, because SonarQube does not call the gmaven plugin.