更新IntelliJ“新项目”中的Maven原型列表> " Maven的"标签 [英] Update list of Maven archetypes in IntelliJ "New Project" > "Maven" tab

查看:196
本文介绍了更新IntelliJ“新项目”中的Maven原型列表> " Maven的"标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更新IntelliJ IDEA版本2017.2中新建项目对话框中列出的Maven原型列表?

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

推荐答案

手动触发Maven缓存的更新



IntelliJ 2017.2与Maven并不那么聪明。您必须手动调用列出原型的存储库信息的Maven缓存更新。

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. 转到:首选项> 构建,执行,部署> 构建工具> Maven > 存储库

  2. 对于您在 Indexed Maven Repositories 列表中关注的每个项目,请单击该行,稍等片刻,然后单击更新按钮。

  3. 等待很长时间,几分钟或更长时间,因为本地存储库缓存与存储库服务器同步互联网。

  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.

开放功能请求添加自动更新打开新建项目向导时的Maven缓存。

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

这篇关于更新IntelliJ“新项目”中的Maven原型列表> " Maven的"标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆