This question might have been asked before.
Every time I open my eclipse it takes forever to update the Maven repo indexes.
I do not have any Maven Plugin in
I was using Eclipse Mars in Windows 10.Until application run as Administrator mode maven could not fetch the updates to .m2 folder.
To Disable index update eclipse . It shows always.
Step 1
Go Window Tab->Preferences -> Maven
Step 2
Unchecked
Step 3
Click Ok- >Restart Eclipse
If you have something like this (note the <updatePolicy>
):
<repositories>
<repository>
<id>foo-bar-repository</id>
<url>http://foo.bar.com/repository</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
This can screw up your Eclipse and force it to try downloading the jars each time. You can set this to:
<updatePolicy>daily</updatePolicy>
or some other interval as described here.
Additionally, after disabling the update as suggested by FrVaBe, if keeps updating, try to update the user settings. It worked for me
Preferences->Maven->User Settings->Update Settings
Go to your project preferences and then go to Builders. Disable the Maven builder. This should stop the index updates. I guess you will need to do this on each project in your workspace, I don't think you can do this for the whole workspace.
Window -> Preferences -> Maven -> Download repository index updates on startup (uncheck)
maybe also useful for you
Window -> Preferences -> Maven -> Do not automatically update dependencies from remote repositories (check)