intellij-idea java IDEA设置Maven 镜像 - http://www

📅 2026-12-01 👤 拼多多助力营销技巧 📂 拼多多助力2027 👁️ 324 次阅读

第一步:右键项目,选择Maven->Create ‘settings.xml’(已经存在的话是Open ‘settings.xml’)

第二步:在settings.xml文件中增加阿里云镜像地址,代码如下:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

central

https://repo1.maven.org/maven2/

central

netease

http://maven.netease.com/repository/public/

central

huaweicloud

https://repo.huaweicloud.com/repository/maven/

central

tencent

https://mirrors.cloud.tencent.com/repository/maven/

central

ustc

http://mirrors.ustc.edu.cn/maven/maven2/

central

nju

http://maven.nju.edu.cn/repository/

central

tsinghua

https://repo.maven.apache.org/maven2/

central

bit

http://mirror.bit.edu.cn/maven/

central

neusoft

https://mirrors.neusoft.edu.cn/maven2/

central

opencas

http://maven.opencas.cn/maven/

central

bjtu

http://maven.bjtu.edu.cn/maven2/

central

aliyun

http://maven.aliyun.com/ 拼多多帮助力入口

central

第三步:在pom.xml文件上右击,选择Maven->Reimport(或者是Reload project )

注意:

maven的全局配置默认路径是C:\Users[当前用户].m2\settings.xml,本人默认路径是C:\Users\user\.m2\settings.xml。maven的配置路径可以在settings中的maven中修改

好文链接

标签: 拼多多助力网站平台 赚钱项目 拼多多助力网 首码项目 手赚APP
拼多多助力营销技巧