无法解析groupid.artifactid的版本 [英] No versions could be resolved for groupid.artifactid

查看:480
本文介绍了无法解析groupid.artifactid的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Jenkins服务器配置中列出Mavaen Repository Artifacts时出现错误.错误在下面给出.

I'm having an error while listing the Mavaen Repository Artifacts in my Jenkins server configuration. Error is given below.

No versions could be resolved for groupid.artifactid rtis.rtis_2.11

但是我的Nexus服务器正确包含了可用的 rtis 版本.我的意思是如何将Nexus服务器中可用的那些版本检索到Jenkins服务器中?

But my Nexus server contains the available rtis versions correctly. My point is how I can retrieve those versions available in Nexus server to my Jenkins server?

Nexus服务器中的可用版本

Available versions in Nexus server

任何帮助将不胜感激.

谢谢.

推荐答案

我发现,自动更新 mavan-metadata.xml 文件是解决方案.为了更新文件,请使用 cron 作业为重建元数据创建任务管理器. 转到Nexus Repo中的管理->计划任务.有关更多信息,请参考下面的图像.

As I figured out, automatically upadating mavan-metadata.xml file is the solution. In order to update the file, create a task sheduler for rebuild metadata with a cron job. Go to Administration -> Scheduled Tasks in Nexus Repo. For more info, please refer to the image given below.

这篇关于无法解析groupid.artifactid的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆