找不到声纳Maven插件5.1.1 [英] sonar-maven-plugin 5.1.1 not found
问题描述
我刚刚安装了最新版本的SonarQube(5.1.1),当我尝试运行sonar:sonar目标时,出现错误:
I've just installed the latest version of SonarQube (5.1.1) and when I try to run the sonar:sonar target, I get an error:
Embedded error: Unable to build project for plugin 'org.codehaus.sonar:sonar-maven-plugin': POM 'org.codehaus.sonar:sonar-maven-plugin' not found in repository: Unable to download the artifact from any repository
org.codehaus.sonar:sonar-maven-plugin:pom:5.1.1
我已经在这里检查了
http://mvnrepository.com/artifact/org.codehaus.声纳/sonar-maven-plugin
看来,声纳-maven-plugin的版本5.1.1尚未推送到公共存储库中.
And it seems that version 5.1.1 of the sonar-maven-plugin has not been pushed to the public repo(s).
是这样还是在错误的位置?
Is that so or am I looking in the wrong location?
推荐答案
sonar-maven-plugin是一个独立的项目,不遵循SonarQube版本.
正确的命令行是mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar
The sonar-maven-plugin is an independent project that does not follow SonarQube versioning.
Correct command-line is mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar
groupId mvn.codehaus.sonar供内部使用.
The groupId mvn.codehaus.sonar is for internal use.
这篇关于找不到声纳Maven插件5.1.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!