sonar-maven-plugin 5.1.1 not found

杀马特。学长 韩版系。学妹 提交于 2020-01-01 18:54:09

问题


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

I've checked here:

http://mvnrepository.com/artifact/org.codehaus.sonar/sonar-maven-plugin

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?


回答1:


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

The groupId mvn.codehaus.sonar is for internal use.



来源:https://stackoverflow.com/questions/30797839/sonar-maven-plugin-5-1-1-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!