maven 国内镜像配置阿里云服务器

修改maven根目录下的conf文件夹中的setting.xml文件,修改mirrors结点,配置如下

<mirrors>
      <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>        
    </mirror>
</mirrors>

猜你喜欢

转载自blog.csdn.net/mxw968/article/details/76418486