How do I enable index downloads in Eclipse for Maven dependency search?
Tick 'Full Index Enabled' and then 'Rebuild Index' of the central repository in 'Global Repositories' under Window > Show View > Other > Maven > Maven Repositories
, and it should work.
The rebuilding may take a long time depending on the speed of your internet connection, but eventually it works.
- In Eclipse, click on Windows > Preferences, and then choose Maven in the left side.
- Check the box "Download repository index updates on startup".
- Optionally, check the boxes Download Artifact Sources and Download Artifact JavaDoc.
- Click OK. The warning won't appear anymore.
- Restart Eclipse.