-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jacoco and Sonar PlayFramework 2.6 #104
Comments
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 |
Can you provide sonar version which you are using? Report generation is dependent on sonar version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: