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

将以上代码粘贴到 maven 的settting 文件中 如下

maven 阿里云镜像


打开后maven 阿里云镜像


弄完后保存。之后打开你的eclipse, window下 showview 找到maven 配置,如下

maven 阿里云镜像


点开 maven Repostories

maven 阿里云镜像

出现以下代表成功

相关文章: