For AI agents: the complete documentation index is available at https://heyq02.com/llms.txt, the full documentation bundle is available at https://heyq02.com/llms-full.txt, and this page is available as Markdown at https://heyq02.com/blog/posts/idea-change-maven-repository.md.
跳到主要内容

开发技巧指北:IDEA 修改默认绑定的 Maven 仓库地址

预计阅读时间: 小于 1 分钟

Microsoft Windows 11 家庭中文版 IntelliJ IDEA 2025.1.1.1

默认的 IDEA 是有自己捆绑的 Maven 的(这是修改完毕的截图)

修改默认的,路径是 IDEA 安装路径下的 plugins

D:\Softwares\IntelliJ IDEA 2025.1.1.1\plugins\maven\lib\maven3\conf

修改 .xml 的 localStorage

重启 IDEA,在 Maven 配置里面勾选重写

再次重启 IDEA,创建一个测试