首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Maven:未能执行目标org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar

Maven:未能执行目标org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar
EN

Stack Overflow用户
提问于 2015-12-10 07:40:20
回答 1查看 2.8K关注 0票数 9

执行sonar:sonar goal on maven project时获取错误

尝试使用sonar-maven-plugin版本2.7.15.0

错误:

代码语言:javascript
复制
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;
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-15 05:56:47

这个问题已经解决了。我使用了Sonar5.2,Eclipse露娜4.4.2 (SR2)和Maven- Eclipse 1.6 (download.eclipse.org/technology/m2e/releases/1.6).的组合。最近版本的eclipse允许我安装m2e 1.6,而最近的声纳版本允许我执行声呐插件而没有代理错误。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34196212

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档