标签:div 默认 led 问题 was 依赖 ble 通过 plugin
公司项目依赖了sonar检查,默认使用的是sonar-maven-plugin:3.7.0.1746版本。在执行sonar扫描时提示:
SCM provider was set to "git" but no SCM provider found for this key.
这个原因在于sonar的SCM配置有问题导致,但是运维又不给调整配置,那就只能在项目上增加配置跳过SCM的处理。
在项目的最外层pom中的properties中,增加如下配置:
<properties> <sonar.scm.disabled>true</sonar.scm.disabled> </properties>
通过这个配置,告知sonar对当前项目禁用scm选择。
标签:div 默认 led 问题 was 依赖 ble 通过 plugin
原文地址:https://www.cnblogs.com/asfeixue/p/13376285.html