Is SonarScala supported in SonarQube 6.7.4?

scala
(Pra Jal) #1

We are currently running SonarQube version 6.7.4 and looking to analyze scala code.
We installed the Sonar Scala plugin but are unable to see any analysis being done with the scala plugin on our scala projects.
I would like to know if we are missing something or scala code coverage is not supported on this version of SonarQube (6.7.4) we are using.
Sonar Scanner version:
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar

Thanks,
Pranothi

(G Ann Campbell) #2

Hi Pranothi,

Yup. According to the Plugin Version Matrix it is.

 
:slight_smile:
Ann

(Pra Jal) #3

Thanks Ann ! I noticed that the scala projects were not getting scanned until the sonar properties were explicitly updated with sonar.sources=src.
Did not see this issue with other products that only have java running though.

(G Ann Campbell) #4

Hi,

I’m glad you got this working. My only guess about the sonar.sources setting is that you analyze projects in other languages with analyzers that handle more of the basics for you (i.e. SonarQube Scanner for Maven, Gradle)

 
Ann

(Pra Jal) #5

Hi Ana,

We are using SonarQube scanner for maven in all our projects. But our new projects include java and scala.