当前位置:网站首页>idea2022更改本地仓库,配置阿里云中央仓库
idea2022更改本地仓库,配置阿里云中央仓库
2022-07-28 04:06:00 【耳东哇】
注意
files-setting与files-other settings是不同的东西。因为idea版本的不同,其他设置的称呼都不同。idea2022的other settings指的是截图所示。

解决
要想每次新建项目的长裤路径为自己设置的路径,需要去other settings修改。
1.我自始至终使用的都是idea自带的maven,根本不需要去下载maven,可以看看博客idea默认的maven路径地址所以下面都是按照idea自带的maven设置的。设置好环境变量并且在cmd中显示验证成功,可进行下一步
2.根据博客maven默认路径我接着找到conf文件–settings文件。打开settings文件修改。
3.大致第50行
将路径设置为自己设置的本地仓库的路径地址
3.配置阿里云中央仓库
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>

4.ctrl+s保存设置。来到idea-setting.可以看到已经自动修改了
边栏推荐
- [735. Planetary collision]
- [Luogu p4590] garden party (DP set DP)
- Embedded development: tips and techniques -- the best practice of defensive programming with C
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-6 personal solutions
- Summary of static blog building tools
- 【luogu P4590】游园会(DP套DP)
- 金仓数据库KingbaseES安全指南--4 数据访问保护
- 超好用的 PC 端长截图工具
- un7.27:redis数据库常用命令。
- Summary and interpretation of CONDA virtual environment
猜你喜欢

Adding DSP library to STM32F103 and its solution

security异常处理机制

21天,胖哥亲自带你玩转OAuth2

Protocols in swift

Detailed explanation of string + memory function (C language)

How does MySQL ensure high availability

RT thread changes the print serial port (add other functions on the basis of BSP)

Common weak network testing tools
![[prototype and prototype chain] get to know prototype and prototype chain~](/img/8a/d6362fdd50dc883ff817a997ab9e1e.png)
[prototype and prototype chain] get to know prototype and prototype chain~

Advanced Mathematics (Seventh Edition) Tongji University exercises 3-5 personal solutions
随机推荐
[untitled]
金仓数据库KingbaseES安全指南--5.2. 数据完整性保护
【伸手党福利】微信中h5网页调起扫一扫最简单的方法
[MySQL database] index and transaction (often used in interview)
LeetCode 0141. 环形链表 - 三种方法解决
XML file usage and parsing
Kingbasees Security Guide for Jincang database -- 5.1. database transmission security
Read Plato farm's eplato and the reason for its high premium
Build an "industrial brain" and improve the park's operation, management and service capabilities with "digitalization"!
月薪28K学员 自动化测试经验分享
Web Security Foundation - Command Execution Vulnerability
Greed - 55. Jumping game
Detailed explanation of pl/sql parameters ("box model")
Combination of Oracle and Premier League statistics and presentation
[untitled]
搬家通知!
Redis cluster
C#跨线程刷新前台UI
Ch340 RTS DTR pin programming drives OLED
【图像分类】2021-MLP-Mixer NIPS