IDEA中配置国内maven库镜像(阿里云)

配置maven中settings.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>

猜你喜欢

转载自www.cnblogs.com/flypig666/p/11516115.html