forked from fmueller/sonar-scala
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README to cover current status.
- Loading branch information
Showing
1 changed file
with
1 addition
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
Sonar Scala Plugin | ||
=========== | ||
Supports Sonar 3.0+ and requires Cobertura and Surefire plugins. | ||
|
||
To include test and coverage reports: | ||
|
||
Install these plugins in your scala project: | ||
|
||
https://github.com/mmarich/sbt-simple-junit-xml-reporter-plugin | ||
- Creates junit xml reports for output from scalatest. | ||
|
||
https://github.com/sqality/scct | ||
- Creates a Scala-friendly code-coverage report, and includes a coberura xml report. | ||
|
||
|
||
Add the following properties to your project's sonar-project.properties file: | ||
|
||
sonar.dynamicAnalysis=reuseReports | ||
sonar.surefire.reportsPath=test-reports | ||
sonar.core.codeCoveragePlugin=cobertura | ||
sonar.java.coveragePlugin=cobertura | ||
sonar.cobertura.reportPath=target/scala-[scala-version]/coverage-report/cobertura.xml | ||
Supports SonarQube 4.5+ |