sonarqube扫描仪下载所有插件

时间:2017-11-20 18:32:17

标签: sonarqube sonarqube-scan

我有一个非常简单的sonar-scanner.properties文件。这就是它的样子:

sonar.host.url=https://sonarhosturl
sonar.login=xxx
sonar.password=yyy
sonar.language=java
sonar.projectKey=someprojectkey
sonar.projectName=someprojectname
sonar.projectVersion=5.6
sonar.sources=somepath

当我运行sonar-scanner时,我可以在日志中看到它下载了很多插件。其中大部分都是我不需要的。

以下是日志输出的部分:

INFO: Load plugins index (done) | time=95ms
INFO: Download sonar-dev-cockpit-plugin-1.12.jar
INFO: Download sonar-cobertura-plugin-1.6.3.jar
INFO: Download sonar-css-plugin-2.2.jar
INFO: Download sonar-crowd-plugin-2.0.jar
INFO: Download sonar-pmd-plugin-2.6.jar
INFO: Download sonar-android-plugin-1.1.jar
INFO: Download sonar-pdfreport-plugin-1.5.jar
INFO: Download sonar-scm-svn-plugin-1.3.jar
INFO: Download sonar-plsql-plugin-2.8.jar
INFO: Download sonar-csharp-plugin-5.4.0.464.jar
INFO: Download sonar-java-plugin-3.14.jar
INFO: Download sonar-ldap-plugin-2.1.0.507.jar
INFO: Download sonar-web-plugin-2.5.0.476.jar
INFO: Download sonar-xml-plugin-1.4.1.jar
INFO: Download sonar-build-breaker-plugin-2.1.jar
INFO: Download sonar-checkstyle-plugin-2.4.jar
INFO: Download sonar-swift-plugin-2.1.0.1504.jar
INFO: Download sonar-cpp-plugin-4.2.jar
INFO: Download sonar-python-plugin-1.6.jar
INFO: Download sonar-issues-density-plugin-1.0.jar
INFO: Download sonar-fxcop-plugin-1.0.jar
INFO: Download sonar-clover-plugin-3.1.jar
INFO: Download sonar-motion-chart-plugin-1.7.jar
INFO: Download sonar-javascript-plugin-2.17.0.3154.jar
INFO: Download sonar-findbugs-plugin-3.3.jar
INFO: Download sonar-scm-git-plugin-1.2.jar
INFO: Download sonar-governance-plugin-1.1.jar

有没有办法可以限制它下载的插件?我只需要Java相关插件。

0 个答案:

没有答案