簡體   English   中英

Maven:無法執行目標org.codehaus.mojo:sonar-maven-plugin:2.7.1:聲納

[英]Maven: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar

執行sonar:sonar goal on maven project出錯sonar:sonar goal on maven project

嘗試使用sonar-maven-plugin版本2.7.15.0

錯誤:

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;

問題得到解決。 我使用了Sonar 5.2,Eclipse Luna 4.4.2(SR2)和Maven-eclipse-plugin 1.6(download.eclipse.org/technology/m2e/releases/1.6)的組合。 最新版本的eclipse允許我安裝m2e 1.6和最近的聲納版本允許我執行聲納插件而不會出現代理錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM