问题
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.
- Go to:
Preferences
>Build, Execution, Deployment
>Build Tools
>Maven
>Repositories
. - For each of the items you care about in the list of
Indexed Maven Repositories
, click the row, wait a moment, then click theUpdate
button. - 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