find / -name "setting.xml"
修改maven根目录下的conf文件夹中的setting.xml文件中的mirrors下添加mirror标签
-
E:\Maven\repository -
-
-
- <id>repo1
-
central -
Human Readable Name for this Mirror. -
https://repo1.maven.org/maven2/ -
-
-
-
- <id>repo2
-
central -
Human Readable Name for this Mirror. -
https://repo2.maven.org/maven2/ -
-
-
-
- <id>aliyunmaven
-
* -
阿里云公共仓库 -
https://maven.aliyun.com/repository/public -
-
-

