#工具 Intellij IDEA中自定义的Maven Archetype管理

背景,手贱在输入自定义的 archetype时后面多输入了一个空格

解决:自定义的Archetype 会保存在Windows下面的文件中

C:\Users\<user>\.IntelliJIdeaxxx\system\Maven\Indices\UserArchetypes.xml

根据需要修改添加该文件的内容就行。

注意,需要重启IDEA才能生效!

参考:

https://stackoverflow.com/questions/4361567/where-are-added-archetypes-stored-in-intellij

补充

Linux: ~/.IntelliJIdeaxxx/system/Maven/Indices/UserArchetypes.xml

Mac: ~/Library/Caches/IntelliJIdeaxxx/Maven/Indices/UserArchetypes.xml

猜你喜欢

转载自www.cnblogs.com/SC-CS/p/tool_idea_maven_manage_archetype.html