首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >插件maven-eclipse-plugin的Jenkins错误解决版本

插件maven-eclipse-plugin的Jenkins错误解决版本
EN

Stack Overflow用户
提问于 2015-12-22 15:18:24
回答 1查看 864关注 0票数 1

最近,当我在jenkins上构建作业时,我遇到了一个错误,作业的配置: jdk版本: 1.6_23,maven版本: 3.0.5,clean :洁净安装。

同样的构建在上个星期也成功了,但是今天构建失败了,我没有对jenkins的配置或项目的源代码做任何更改,上个星期我们不需要指定插件maven-eclipse-plugin的版本,今天当我没有在pom.xml中指定插件的版本时,我在下面有一个错误。

有人能帮我吗?谢谢!

代码语言:javascript
复制
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-  eclipse-plugin' from the repositories [local (/cip/home/jenkins-V1/.m2/repository-Project), central (http://mrm.fr.company.com/Project-virtual), snapshots (http://mrm.fr.company.com/Project-virtual)]: Plugin not found in any plugin repository -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[JENKINS] Archiving /cip/home/jenkins-V1/workspace/project/pom.xml to project.pom
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

你好,优素福

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-02-29 15:58:28

我找到了两种解决这个错误的方法:

  1. 使用maven执行声纳并添加org.codehaus.mojo:sonar-maven-plugin:2.0:sonar以选择正确的sonar-maven-plugin版本
  2. 在管理詹金斯的声纳部分修复版本。
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34418973

复制
相关文章

相似问题

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