If you want to see a live example of the capabilities of the Groovy plugin, you can have a look at the analysis of the CodeNarc project on Nemo.
Description / Features
The plugin enables analysis of Groovy projects within Sonar.
- Install the Groovy plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- Restart the Sonar server
Run a Sonar Analysis with the Sonar Runner (Recommended Way)
To launch a Sonar analysis of your Groovy project, use the Sonar Runner.
Run a Sonar Analysis with the other Analyzers
It is possible to reuse previously generated report from CodeNarc by setting the sonar.groovy.codenarc.reportPath property.
The source directory must be added to the pom.xml, even if the project is built with Maven. This comes from the fact that Sonar does not call gmaven plugin.
|Release 0.5 (3 issues)|
|SONARPLUGINS-1565||Update to CodeNarc 0.16.1 and GMetrics 0.4|
|SONARPLUGINS-1404||Update to cobertura-maven-plugin 2.5.1|
|SONARPLUGINS-596||Error when parsing certain files for duplications|
|Release 0.4 (3 issues)|
|SONARPLUGINS-1359||Update to CodeNarc 0.15|
|SONARPLUGINS-1205||Update to CodeNarc 0.14|
|SONARPLUGINS-1159||Some rule parameters were missed|