这里通过博客备份一个个人用的maven settings文件。如果使用默认的maven settings文件,经常出现plugin加载不出来等问题。而重置系统的时候,maven setting经常忘记备份,因此特地在blog上备份一次。

这个xml是结合[1]改动来的,注释掉了其中一些不需要的以及错误的标签。个人改动一下最上方的maven repo地址即可,要和idea中的maven repo地址保持一致。

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">

D:\MavenRepository\repository

alimaven

aliyun maven

http://maven.aliyun.com/nexus/content/groups/public/

central

jdk1.8

true

1.8

UTF-8

1.8

1.8

1.8

dev

nexus

http://nexus.hepengju.cn:8081/nexus/content/groups/public/

true

true

public

Public Repositories

http://nexus.hepengju.cn:8081/nexus/content/groups/public/

ali

alimaven

aliyun maven

http://maven.aliyun.com/nexus/content/groups/public/

true

true

alimaven

aliyun maven

http://maven.aliyun.com/nexus/content/groups/public/

jdk1.8

dev

ali

参考文章: [1],Maven的标准settings.xml文件

推荐文章

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。