我正在尝试使用 gradle 项目设置 SonarQube。
我已经开始了一个本地声纳进程:
C:\Dev\Sonar\sonar-3.7\bin\windows-x86-64>StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2013-08-15 15:44:56.847:INFO:oejs.Server:jetty-7.6.11.v20130520
jvm 1 | JRuby limited openssl loaded. http://jruby.org/openssl
jvm 1 | gem install jruby-openssl for full support.
jvm 1 | 2013-08-15 15:45:27.198:INFO:oejsh.ContextHandler:started o.e.j.w.Web
AppContext{/,file:/C:/Dev/Sonar/sonar-3.7/war/sonar-server/},file:/C:/Dev/Sonar/
sonar-3.7/war/sonar-server
jvm 1 | 2013-08-15 15:45:27.261:INFO:oejs.AbstractConnector:Started SelectCha
nnelConnector@0.0.0.0:9000
我已经应用了声纳插件:apply plugin: "sonar-runner"
当我执行 Gradle Sonar 任务时,我看到了这个错误:
gradle sonarRunner
...
* What went wrong:
Execution failed for task ':shared:sonarRunner'.
> org.sonar.api.utils.SonarException: Validation of project reactor failed:
o root[mod_EricFrancis2]:shared is not a valid project or module key
有人对如何解决此错误有任何想法吗?会不会是内存问题?