如何在Eclipse中为Maven依赖搜索启用索引下载? [英] How do I enable index downloads in Eclipse for Maven dependency search?

查看:809
本文介绍了如何在Eclipse中为Maven依赖搜索启用索引下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse Luna和m2e插件。当我搜索依赖关系时,我会收到以下警告(也请参阅截图):


索引下载被禁用,搜索结果可能是不完整。


解决方案



ol>

  • 在Eclipse中,单击 Windows>首选项,然后在左侧选择 Maven

  • 选中启动时下载存储库索引更新框。可以选中下载Artifact Sources 下载Artifact JavaDoc
  • $
    $ b b $ b
  • 点击确定

  • 重新启动Eclipse。


  • I am using Eclipse Luna with the m2e plug-in. When I search for dependencies, I get the following warning (also see the screenshot after):

    Index downloads are disabled, search result may be incomplete.

    How can I enable index downloads?

    解决方案

    1. In Eclipse, click on Windows > Preferences, and then choose Maven in the left side.
    2. Check the box "Download repository index updates on startup".
      • Optionally, check the boxes Download Artifact Sources and Download Artifact JavaDoc.
    3. Click OK. The warning won't appear anymore.
    4. Restart Eclipse.

    这篇关于如何在Eclipse中为Maven依赖搜索启用索引下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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