英文:
where did this maven archetypes list come from?
问题
Jetbrains IDEA在创建模块时。
这个Maven原型清单是从哪里获得的?
我如何自己更新这个清单?除了手动添加。
英文:
Jetbrains IDEA when the moudle is created.
where did this maven archetypes list come from?
how do i update this list myself?except for manual increases.
答案1
得分: 1
IntelliJ正在使用IntelliJ Maven插件。该列表来源于Maven Central,并由该插件自动下载。请参阅https://intellij-support.jetbrains.com/hc/en-us/community/posts/206173089-Maven-archetype-repository。
终端中的等效命令是mvn archetype:generate
。一个文件会生成在~/.m2/archetype-catalog.xml
。您应该能够比对屏幕上的内容以验证其是否匹配。
如果要强制下载,可以删除该文件,并在终端中运行先前的Maven命令。如果您想要额外的目录,可以在IntelliJ的请求页面中查看。IntelliJ Maven原型目录插件也可以立即用于下载不同的目录。
英文:
IntelliJ is using an IntelliJ Maven plugin. The list is from Maven Central, and it is automatically downloaded by that plugin. See https://intellij-support.jetbrains.com/hc/en-us/community/posts/206173089-Maven-archetype-repository .
An equivalent command in terminal is mvn archetype:generate
. A file is generated at ~/.m2/archetype-catalog.xml
. You should be able to compare what's on screen to verify it is a matching list.
To force download, you can delete that file, and in the terminal run the earlier Maven command. If you want extra catalogs, the request is open at IntelliJ. The IntelliJ Maven Archetype Catalogs Plugin can also be used right now to download different catalogs.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论