IntelliJ IDEA: "Indexed Maven Repositories" list - how to add remote maven repository in this list?
This list is updated automatically from the repositories specified in your pom files (or inherited from parent project's pom and settings.xml).
If you open a project that has some additional repositories specified, you'll see them in this list and will be able to update the indices.
You can manage these settings by editing your settings.xml file of the project
- Open the Project file list (Ctrl-1)
- Find your main parent pom.xml file
- Right click on it Choose Maven -> Open 'settings.xml'
As you can see it is a local copy of settings.xml file for your project. There is you can add/remove active repositories of the project. Look at the settings->repositories manual for details.
I had a related issue where I changed the repository in my settings.xml but the Indexed Maven Repositories list was still pointing to the old one. In order to get the maven build to look at the new one I had to run mvn idea:idea on the project