当 Eclipse 说它正在更新索引时,它在做什么?

发布于 2024-12-23 04:45:31 字数 256 浏览 1 评论 0原文

当我加载工作区(用于 Android Java 开发)时,Eclipse 在状态栏中显示它正在更新索引。 Progress 选项卡报告它正在访问 maven.org。

我读过 Maven - 看起来像一个构建管理器。我不明白的是为什么我的 Android 工作区需要它或者为什么它会访问云中的服务器。我需要它吗?如果没有,我该如何安全地删除它?

在此处输入图像描述

When I load up a workspace (for Android Java development), Eclipse says in the status bar that it's updating indexes. The Progress tab reports that it's hitting maven.org.

I read up on Maven - seems like a build manager. What I don't understand is why my Android workspace needs it or why it's hitting the server in the cloud. Do I need it? If not, how do I safely remove it?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

香草可樂 2024-12-30 04:45:31

这是安装 m2e/m2eclipse(Eclipse 的 Maven 集成)时发生的常规步骤,无论项目是否正在积极使用它。

可以通过 Eclipse 首选项禁用此步骤:Window / Preferences / Maven /“启动时下载存储库索引更新”。此选项位于主“Maven”首选项页面(不是子页面)。只需取消选中该框即可防止这种情况发生。

Eclipse m2e 在启动时禁用存储库索引更新

这是下载的文件是 Maven 中所有可用依赖项的索引用于支持 Maven 的项目的中央存储库,允许在 Eclipse UI 中轻松选择和搜索它们。这主要是为了用户方便,并不是强制性的。

This is a general step that happens when m2e/m2eclipse (Maven integration for Eclipse) is installed, whether projects are actively using it or not.

This step can be disabled through the Eclipse preferences: Window / Preferences / Maven / "Download repository index updates on startup". This option is on the main "Maven" preference page (not a child page). Just uncheck the box to prevent this from happening.

Eclipse m2e Disable repository index updates on startup

The file that this is downloading is an index of all the available dependencies available in the Maven central repository for use in Maven-enabled projects, allowing them to be easily chosen and searched against within the Eclipse UI. It is mainly a user convenience, and isn't mandatory.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文