mwz on master
Update README (compare)
mwz on v9.0.0
mwz on master
Bump to Sonar 9.4.0.54424 (#831… (compare)
sonarExpectSonarQubeCommunityPlugin
to false allows you to switch compatibility from sonar-scala to SonarScala, which is the default Scala plugin available on SonarCloud. See the release notes for 2.2.0.
sbt "project sub-project-a" clean coverage test coverageReport sonarScan -Dsonar.sources=sub-project-a/src/main/scala -Dsonar.tests=sub-project-a/src/test/scala
it does work, but I'd like to use the coverageAggregate. Any idea how?
aggregate in sonarScan := false
on your aggregate project, see an example here: https://github.com/sonar-scala/sbt-sonar/blob/master/src/sbt-test/sbt-sonar/multi-module/build.sbt
sonarExpectSonarQubeCommunityPlugin := false
and let me know if it doesn't work.
addSbtPlugin("com.github.mwz" % "sbt-sonar" % "2.3.0")
but since v2.2.1 it is in: addSbtPlugin("com.sonar-scala" % "sbt-sonar" % "2.2.1")
right? I fount out because while following the getting started page I was getting the error https://repo1.maven.org/maven2/com/github/mwz/sbt-sonar_2.12_1.0/2.3.0/sbt-sonar-2.3.0.pom
sonarScan -Dsonar.host.url=https://sonarqube.myhost.com
[error] Expected whitespace character
[error] Expected '/'
[error] sonarScan -Dsonar.host.url=https://sonarqube.myhost.com
Hi, I try to setup sbt-sonar
on a multi-module project, but I encountered the following error:
[info] Loaded core extensions: developer-scanner
[info] Load project settings for component key: 'my-api'
[info] Process project properties
[error] stack trace is suppressed; run last api / sonarScan for the full output
[error] (api / sonarScan) You must define the following mandatory properties for 'my-api': sonar.organization
[error] Total time: 2 s, completed 6 janv. 2022, 19:26:44
The sonar.organization
property is set, and I've tried to also set a property my-api.sonar.organization
Since bintray is closed officially, where should be get the sonar-scala_2.13-8.5.0-assembly.jar ?
@m.wizner:matrix.org
Hey you all. A bit of a noob with Sonar in general. I'm debugging why my reports aren't being uploaded. At the moment neither scoverage or scapegoat are being imported.
For scapegoat I see this message:
[2022-04-15T18:33:24.648Z] [info] 'Import of Scapegoat issues' skipped because one of the required properties is missing
For Scoverage I don't even have a clue. The reports are being printed correctly in the command line when the "coreverageReport" and "coverageAggregate" commands are called. but it ends there...