Eclipse updating indexes maven disable No sign up hook up site

30-Jul-2017 11:41

Once you enable option to "Download repository Index updates on startup", Maven will remember it and it will keep updating index every time you restart the Eclipse.

Sometime this makes your Eclipse little bit slower so you might want to disable it and then do it manually.

You can see that Eclipse is updating indexes and it's doing it from Maven central repository,

If you had configured internal nexus repository then it will download from there.

I was surprised because I have never faced this issue while I was using M2Eclipse plugin from long time.If that file is not download or not exist due to any reason, Maven's dependency search will not work in Eclipse.That's why you need to check the option "Download repository Index updates on startup".At first you will see it's not working as shown in first screenshot.You can see I was searching for spring framework Java but there is no search result, in fact it was saying artifact id cannot be empty.

I was surprised because I have never faced this issue while I was using M2Eclipse plugin from long time.

If that file is not download or not exist due to any reason, Maven's dependency search will not work in Eclipse.

That's why you need to check the option "Download repository Index updates on startup".

At first you will see it's not working as shown in first screenshot.

You can see I was searching for spring framework Java but there is no search result, in fact it was saying artifact id cannot be empty.

Problem is fixed now, you can see that Eclipse is now able to search dependency from Maven repository.