问题描述
当我加载一个工作区(对于Android Java开发),Eclipse在状态栏中说它正在更新索引。 进度选项卡报告它正在击中maven.org。
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.
我在Maven上阅读 - 似乎是一个构建管理器。我不明白的是为什么我的Android工作区需要它,或者为什么它在云中的服务器。我需要吗?如果没有,我该如何安全地删除它?
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?
推荐答案
这是一个通用的步骤,当安装了m2e / m2eclipse(Maven集成为Eclipse)项目是否正在积极使用。
This is a general step that happens when m2e/m2eclipse (Maven integration for Eclipse) is installed, whether projects are actively using it or not.
可以通过Eclipse首选项禁用此步骤:Window / Preferences / Maven /启动时下载存储库索引更新。此选项位于主Maven首选项页面(而不是子页面)上。只需取消选中该框即可防止这种情况发生。
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.
下载的文件是Maven中央存储库中可用的所有可用依赖项的索引,用于启用Maven的项目,允许他们在Eclipse UI中轻松选择和搜索。主要是用户方便,并不是强制性的。
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.
这篇关于当Eclipse正在更新索引时,Eclipse会做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!