jxldjsn

一、添加阿里云镜像

1 找到maven的安装目录,conf文件夹下的setting.xml文件

2 打开setting.xml文件,找到mirrors节点添加阿里镜像库地址:

<mirror>  

      <id>alimaven</id>  

      <name>aliyun maven</name>        

      <url>

      http://maven.aliyun.com/nexus/content/groups/public/</url>  

      <mirrorOf>central</mirrorOf>  

</mirror>

 

二、配置本地仓库

打开maven安装目录\conf\setting.xml文件。

修改为本地路径:<localRepository>E:\Maven_Repo</localRepository>

分类:

技术点:

相关文章:

  • 2021-08-17
  • 2021-10-01
  • 2022-12-23
  • 2020-06-03
  • 2021-08-06
  • 2022-02-07
猜你喜欢
  • 2021-08-26
  • 2022-12-23
  • 2022-02-07
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案