Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: GROOVY-0.2
-
Fix Version/s: GROOVY-0.3
-
Component/s: Groovy
-
Labels:None
-
Number of attachments :
Description
I can define the property sonar.groovy.gmetrics.reportPath property in my pom.xml to point to an existing GMetrics XML results file. But the code to read the XML results file is not correct. The value of this property is used to get the project property.
In the file GroovySensor.java at line 84:
File gmetricsReport = getReport(project, gmetricsReportPath;
should be:
File gmetricsReport = getReport(project, GroovyPlugin.GMETRICS_REPORT_PATH);
Done in r3182.