Open dorianboulch opened 6 years ago
Someone to help me ?
Is this repo still maintained?
the same to you . I don't have the coverage showed in sonar
having the same issue play 2.8
having the same issue play 2.8
Can you provide sonar version which you are using? Report generation is dependent on sonar version
I'm using sbt-jacoco with a Play Framework (v2.6) and Sonar (sbt-sonar-scanner-plugin). When I run
sbt jacoco
and thensbt sonar
I have this error :(*:sonar) java.lang.IllegalStateException: Line 13 is out of range in the file app/model/MyModel.java (lines: 10)
In Play, there is by default a plugin "sbt-play-enhancer" that generates getters/setters automatically. I suppose sonar doesn't execute this plugin but jacoco yes. This would explain the difference of number of line in the java file.
Have you got an idea about how to solve this ?
I tried this and many other configurations in my
build.sbt
file:Environment