詹金斯 Maven PluginResolutionException
jenkins maven PluginResolutionException
我正在尝试使用 jenkins、eclipse、nexus、svn 进行构建。
将 maven-archiver 2.5 上传到 nexus 后,出现此错误。
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or
one of its dependencies could not be resolved: Failure to find
org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in
http://192.168.56.1:8081/nexus/content/repositories/KCC_Central/ was
cached in the local repository, resolution will not be reattempted
until the update interval of KCC_Central has elapsed or updates are
forced -> [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. [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/PluginResolutionException
正如您在下一张图片中看到的,我上传了这个 pom 和 jar。
但 jenkins 仍然说 maven-resources-plugin 2.6 不在我的存储库中。
那么我该如何避免这个错误呢?
plus : 添加了两个jar文件,仍然报错。
这个错误意味着我没有maven-resources-plugin依赖的其他插件。
所以我下载了这些插件。
我正在尝试使用 jenkins、eclipse、nexus、svn 进行构建。
将 maven-archiver 2.5 上传到 nexus 后,出现此错误。
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in http://192.168.56.1:8081/nexus/content/repositories/KCC_Central/ was cached in the local repository, resolution will not be reattempted until the update interval of KCC_Central has elapsed or updates are forced -> [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. [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/PluginResolutionException
正如您在下一张图片中看到的,我上传了这个 pom 和 jar。
但 jenkins 仍然说 maven-resources-plugin 2.6 不在我的存储库中。
那么我该如何避免这个错误呢?
plus : 添加了两个jar文件,仍然报错。
这个错误意味着我没有maven-resources-plugin依赖的其他插件。
所以我下载了这些插件。