Hi,
I'm currently testing SonarQube (v6.7.7) with the SonarScala (v1.5.0) language support, sonar-scanner (v3.3.0) and sbt-scoverage plugin (v1.5.1)
I'm not sure if this is the correct place to ask the question, but scoverage completes successfully, and I then have a problem when I try to upload the scoverage report to SonarQube via sonar-scanner.
It appears the source code files listed in the scoverage report cannot be resolved and hence coverage results are 0% (see error below).
INFO: Sensor Scoverage sensor for Scala coverage [sonarscala]
INFO: Importing coverage from [Absolute path to project root...]/target/scala-2.12/scoverage-report/scoverage.xml
WARN: Fail to resolve 11 file(s). No coverage data will be imported on the following file(s): [File list....]
INFO: Sensor Scoverage sensor for Scala coverage [sonarscala] (done) | time=87ms
One question I have is whether it is possible to configure scoverage so that it includes a relative path in the scoverage report, or is this an issue that anyone else has seen?
Thanks,
Tim