[英]Maven: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar
Getting error while executing sonar:sonar goal on maven project
执行
sonar:sonar goal on maven project
出错sonar:sonar goal on maven project
Tried using sonar-maven-plugin
version 2.7.1
and 5.0
尝试使用
sonar-maven-plugin
版本2.7.1
和5.0
Error : 错误:
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project XXX:
Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar failed: Unable to load the mojo 'sonar'
in the plugin 'org.codehaus.mojo:sonar-maven-plugin:2.7.1'.
A required class is missing: Lorg/apache/maven/rtinfo/RuntimeInformation;
The issue is resolved. 问题得到解决。 I used combination of Sonar 5.2, Eclipse Luna 4.4.2 (SR2) and Maven-eclipse-plugin 1.6 (download.eclipse.org/technology/m2e/releases/1.6).
我使用了Sonar 5.2,Eclipse Luna 4.4.2(SR2)和Maven-eclipse-plugin 1.6(download.eclipse.org/technology/m2e/releases/1.6)的组合。 recent version of eclipse allowed me to install m2e 1.6 and recent sonar version allowed me to execute sonar plugin without proxy error.
最新版本的eclipse允许我安装m2e 1.6和最近的声纳版本允许我执行声纳插件而不会出现代理错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.