资源nexus-maven-repository-index.properties在IntelliJ中不存在 [英] Resource nexus-maven-repository-index.properties does not exist in IntelliJ

查看:893
本文介绍了资源nexus-maven-repository-index.properties在IntelliJ中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IntelliJ下试用Grails 3时,我发现了以下警告:

While experimenting with Grails 3 under IntelliJ I found the following warning:

 Unindexed remote maven repositories found. Disable...
 The following repositories used in your gradle projects were not indexed yet: 
 https://repo.grails.org/grails/core
 If you want to use dependency completion for these repositories artifacts,
 Open Repositories List, select required repositories and press "Update" button (show balloon)

如果我想解决问题,则会收到下一个错误:

If I am trying to resolve an issue, I get next error:

FileNotFoundException: Resource nexus-maven-repository-index.properties does not exist in IntelliJ

我想知道,这是什么意思?如果存储库被标记为远程",那么为什么问题出在缺少某些(本地?)文件?

I would prefer to know, what does it mean? If repository is marked as "remote", then why the problem is absence of some (local?) file?

更新

我认为这实际上与Grails无关.

I think this is not related with Grails actually.

如何了解有关Update按钮上IntelliJ的Indexed Maven Repositories窗口中发生的错误的更多详细信息?

How to know more details on error, occurring in Indexed Maven Repositories Window in IntelliJ on Update button?

弹出消息说

Resource nexus-maven-repository-index.properties does not exist in IntelliJ

推荐答案

  • 如果您使用的是自定义存储库
  • 它是Nexus 3.x
  • 很可能您忘记设置 Task 来发布您的maven存储库索引.

    chances are high that you forgot to set up a Task to publish your maven repository indexes.

    通过浏览器登录. 转到管理/系统/任务/创建任务/创建发布Maven索引任务

    Log in via browser. Go to Administration/System/Tasks/Create Task/Create Publish Maven indexes Task

    将其设置为每小时发布一次.完成.

    Set it for an hourly publish. Done.

    这篇关于资源nexus-maven-repository-index.properties在IntelliJ中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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