【发布时间】:2010-11-16 20:55:06
【问题描述】:
我已关注directions to integrate Sonar with Maven - 更改了 settings.xml 以包含位于以下位置的声纳存储库:
http://localhost:9000/deploy/maven
并且我已经确认我可以在以下位置看到 readme.txt 文件:
http://localhost:9000/deploy/maven/README.txt
但是在运行sonar:sonar 时,我不断收到以下消息:
[INFO] [sonar:sonar]
[INFO] Sonar host: http: //localhost:9000
[INFO] Sonar version: 1.7
Downloading: http: //localhost:9000/deploy/maven/org/codehaus/sonar/runtime/sonar
-core-maven-plugin/20090803213910/sonar-core-maven-plugin-20090803213910.pom
Downloading: http: //<MY SERVER URL>:8081/nexus/content/groups/public/org/codehaus/
sonar/runtime/sonar-core-maven-plugin/20090803213910/sonar-core-maven-plugin-200
90803213910.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar
Embedded error: Unable to build project for plugin 'org.codehaus.sonar.runtime:s
onar-core-maven-plugin': POM 'org.codehaus.sonar.runtime:sonar-core-maven-plugin
' not found in repository: Unable to download the artifact from any repository
org.codehaus.sonar.runtime:sonar-core-maven-plugin:pom:20090803213910
来自指定的远程存储库:
声纳(http://localhost:9000/deploy/maven),
nexus (http://:8081/nexus/content/groups/public),
对于项目 org.codehaus.sonar.runtime:sonar-core-maven-plugin [信息] --------------------------------------------- --------------------------
知道我错过了什么吗?
【问题讨论】:
标签: sonarqube