1. maven home path可以选择为本地maven安装目录,重新选择User Settings file,选择maven home path/conf/settings.xml文件
2. 将settings.xml重新配置到本地/Users/xxxx/.m2/路径下(windows用户是C://用户//xxx//.m2)路径下
1. 打开 仓库服务 (aliyun.com) ,根据首页可以找到maven/gradle地址
2. 根据对应的格式,复制粘贴即可
<activeProfiles> <activeProfile>profileid</activeProfile> </activeProfiles>
原文:https://www.cnblogs.com/chenxi-mxj/p/15217068.html