2016-05-02 46 views
0

我已經升級了聲納版本5.4,當運行POM生成報告,得到了如下錯誤:聲納構建提供了錯誤:聲納maven3-插件:罐子:5.4

[INFO] 
[INFO] --- sonar-maven-plugin:2.1:sonar (default-cli) @ HEP05_NY_R2.0_JUNIT_ProviderInformationComponents --- 
[INFO] SonarQube version: 5.4 
[WARNING] The POM for org.codehaus.sonar:sonar-maven3-plugin:jar:5.4 is missing, no dependency information available 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1.953 s 
[INFO] Finished at: 2016-05-02T15:19:28-04:00 
[INFO] Final Memory: 11M/239M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project HEP05_NY_R2.0_JUNIT_ProviderInformationComponents: Can not execute SonarQube analysis: Plugin org.codehaus.sonar:sonar-maven3-plugin:5.4 or one of its dependencies could not be resolved: Failure to find org.codehaus.sonar:sonar-maven3-plugin:jar:5.4 in http://10.234.231.225:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1] 

可有人告訴,我應該在哪裏尋找解決這個錯誤,並讓我知道你是否需要更多的細節。

回答

1

您已經在此基礎上標記了您的問題「sonarqube-5.4」,我會說您使用的Maven插件的版本不兼容。

根據the docs,2.2.1通過SonarQube 4.5.x兼容,但與5.x不兼容。

+0

您是否提及Maben版本?在這種情況下,我有Apache Maven 3.2.5 – Sakthisiga

+0

不,用於Maven的SonarQube掃描儀的版本 –