IntelliJ IDEA: “Indexed Maven Repositories” list - how to add remote maven repository in this list?

后端 未结 3 1411
暖寄归人
暖寄归人 2020-12-08 02:31

I\'m having trouble understanding how to get repositories in the \"Indexed Maven Repositories\" list of the IntelliJ IDEA.

In one my project I have two repos in thi

3条回答
  •  伪装坚强ぢ
    2020-12-08 03:22

    You can manage these settings by editing your settings.xml file of the project

    1. Open the Project file list (Ctrl-1)
    2. Find your main parent pom.xml file
    3. 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.

提交回复
热议问题