Maven 是一个项目管理工具,可以对 Java 项目进行构建、依赖管理。
参看这里:https://www.runoob.com/maven/maven-setup.html

Maven 阿里云镜像服务

https://maven.aliyun.com/mvn/guide

~/.m2/settings.xml

  1. <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
  2. <localRepository />
  3. <interactiveMode />
  4. <offline />
  5. <pluginGroups />
  6. <servers />
  7. <mirrors>
  8. <mirror>
  9. <id>aliyunmaven</id>
  10. <mirrorOf>*</mirrorOf>
  11. <name>阿里云公共仓库</name>
  12. <url>https://maven.aliyun.com/repository/public</url>
  13. </mirror>
  14. </mirrors>
  15. <proxies />
  16. <profiles />
  17. <activeProfiles />
  18. </settings>