scala - sbt : findbugs, scalastyle 中的 SonarQube 运行者

标签 scala sbt sonarqube sonar-runner sonarqube5.1

我正在尝试将 SunarQube 运行程序设置为 sbt 任务。到目前为止,我已经设法仅为 Scoverage 生成报告。

我正在独立运行 findbugs 任务,它生成了一个 report.xml,但 Sonar 运行器没有接收到它。我传递给 Sonar 运行者的相关设置:

  "sonar.dynamicAnalysis" -> "reuseReports",
  "sonar.scoverage.reportPath" -> s"${crossTarget.value}/scoverage-report/scoverage.xml",
  "sonar.findbugs.reportPath" -> s"${crossTarget.value}/findbugs/report.xml",

还有其他我应该知道的设置吗?是否有我可以在 Sonar 中使用的所有设置的完整列表?

最佳答案

您将无法获取该 FindBugs 报告; FindBugs plugin基于 rules 运行工具本身配置在 profile在使用中。

关于scala - sbt : findbugs, scalastyle 中的 SonarQube 运行者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33483352/

相关文章:

java - Scala/Java 中的编程语言抽象

scala - 你如何在 sbt 中链接 spark 和 kafka?

MSBuild SonarQube runner : "Failed to locate the code coverage command line tool" still with version 1. 0.1

sonarqube - 通过shields.io徽章添加SonarQube覆盖范围

gradle - 在 SonarQube 中配置 gradle 项目

scala - 在 Apache Flink 中从输入文件创建对象

Scala Akka Http - 使用路由将 Future [A] 作为 Json 返回

scala - 将 RDD 中的元组分解为两个元组

scala - 构建 Scala 包依赖图

scala - 将文件从 sbt 插件复制到项目文件夹