gpt4 book ai didi

java - maven插件存储在哪里

转载 作者:IT老高 更新时间:2023-10-28 21:18:53 26 4
gpt4 key购买 nike

maven 插件存储在哪里?在本地存储库中?如果你用 eclipse 构建你的应用程序会发生什么?它是将插件存储在 eclipse/plugins 文件夹中还是仍然在本地存储库中?

最佳答案

Where are maven plugins stored? in the local repository as well?

是的。插件从远程存储库下载并存储在本地存储库中。因此,确切的最终位置将取决于插件的 groupId(核心插件最终位于 ~/.m2/repository/org/apache/maven/plugins 其中 ~/ 代表您的主目录,例如在 windows server 2016 中它存储在此路径下 C:\Users\YourUserName\.m2 )

what happens if you build your application with eclipse?

嗯……没什么特别的。

Does it store the plugins inside the eclipse/plugins folder or still in the local repository?

不,Maven(嵌入式或外部)使用 <localRepository> 中定义的位置。全局或用户的元素settings (默认为 ~/.m2/repository ),除非您覆盖 Window > Preferences > Maven > User Settings 中的 Local Repository 路径。

关于java - maven插件存储在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2342335/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com