sonar-scala / sonar-scala

A free and open-source SonarQube plugin for static code analysis of Scala projects.

Home Page:https://sonar-scala.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonarProperties look like to be useless

DavidPerezIngeniero opened this issue · comments

Using SBT 1.7.1 and latest sbt-sonar 2.3.0, under Linux.

If I set:

sonarProperties ++= Map(
  "sonar.host.url" -> "https://sonar.fccma.com", 
  "sonar.login", "admin", 
  "sonar.password -> "secret"
)

it isn't used.

The only workaround I've found is to set system properties:

sbt  \
  -Dsonar.host.url=https://sonar.fccma.com \
  -Dsonar.login=admin \
  -Dsonar.password=secret \

Sorry this bug was for sbt-sonar.