这个Maven原型清单是从哪里来的?

huangapple go评论75阅读模式
英文:

where did this maven archetypes list come from?

问题

Jetbrains IDEA在创建模块时。

这个Maven原型清单是从哪里获得的?

我如何自己更新这个清单?除了手动添加。

这个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.

这个Maven原型清单是从哪里来的?

答案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.

huangapple
  • 本文由 发表于 2020年10月17日 15:10:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/64399902.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定