Update list of Maven archetypes in IntelliJ “New Project” > “Maven” tab

扶醉桌前 提交于 2020-01-02 12:46:33

问题


How do I update the list of Maven archetypes listed in "New Project" dialog box in IntelliJ IDEA version 2017.2?


回答1:


Manually trigger update of Maven cache

IntelliJ 2017.2 is not so "intelli" with Maven. You must manually invoke an update of the Maven cache of repository information listing archetypes.

  1. Go to: Preferences > Build, Execution, Deployment > Build Tools > Maven > Repositories.
  2. For each of the items you care about in the list of Indexed Maven Repositories, click the row, wait a moment, then click the Update button.
  3. Wait a long while, several minutes or more as the local repository cache is synched with the repository servers on the internet.

There is an open feature request to add automatic update of the Maven cache when opening the New Project wizard.



来源:https://stackoverflow.com/questions/45067555/update-list-of-maven-archetypes-in-intellij-new-project-maven-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!