[GRADLE-1755] Sonar plugin prints error messages for Java project with tests written in a different language (e.g. Groovy) Created: 19/Aug/11  Updated: 30/Apr/15  Resolved: 30/Apr/15

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-5
Fix Version/s: None

Type: Bug
Reporter: Peter Niederwieser Assignee: Luke Daley
Resolution: Won't Fix Votes: 0


 Description   

If a project with Sonar language setting of "java" has tests written in another language (e.g. Groovy), Sonar can't correlate the test result XML with the test source code (because it only looks for Java source code), and an error message is printed (one for each non-Java test class). Other than that, analysis continues normally.

Depends on http://jira.codehaus.org/browse/SONAR-2322



 Comments   
Comment by Luke Daley [ 30/Apr/15 ]

The way forward is the "sonar-runner" plugin (https://gradle.org/docs/current/userguide/sonar_runner_plugin.html) which supersedes the "sonar" plugin.

If your issue still persists with the "sonar-runner" plugin, please raise a new issue via https://discuss.gradle.org/c/bugs.

Generated at Wed Jun 30 12:03:31 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.