I am trying to integrate SonarQube 5.1.2
with Maven 3.3
. But I think it's only supported till SonarQube
version 5.1
.
When I run mvn sonar:Sonar
Embedded error: Unable to build project for plugin 'org.codehaus.sonar:Sonar-mav en-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.2
from the specified remote repositories: central ( http://repo1.maven.org/maven2 ),
Any thoughts?
The correct command-line is mvn org.codehaus.mojo:sonar-maven-plugin:sonar (see the difference of groupId). It is supported by all versions of Maven 3 and SonarQube.
sonar:Sonar
!= sonar:sonar
注意拼写。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.