解决IDEA Maven 下载依赖包速度过慢问题 实测有效

您所在的位置:网站首页 wemod下载慢怎么办 解决IDEA Maven 下载依赖包速度过慢问题 实测有效

解决IDEA Maven 下载依赖包速度过慢问题 实测有效

2024-07-07 21:25| 来源: 网络整理| 查看: 265

解决IDEA Maven 下载依赖包速度过慢问题 ,jar包下载过慢,有一部分网络原因,很大一部分是因为需要请求到国外镜像仓库,响应比较慢

右键点击项目,找到maven,选择 Open ‘settings.xml’或者Create ‘settings.xml’

将以下代码粘入文件中,重启idea即可提高速度

idea超级镜像库,这是阿里云镜像库和junit镜像库

alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central uk central Human Readable Name for this Mirror. http://uk.maven.org/maven2/ CN OSChina Central http://maven.oschina.net/content/groups/public/ central nexus internal nexus repository http://repo.maven.apache.org/maven2 central junit junit Address/ http://jcenter.bintray.com/ central nexus-aliyun * Nexus aliyun http://maven.aliyun.com/nexus/content/groups/public osc * http://maven.oschina.net/content/groups/public/ repo2 central Human Readable Name for this Mirror. http://repo2.maven.org/maven2/ net-cn central Human Readable Name for this Mirror. http://maven.net.cn/content/groups/public/ ui central Human Readable Name for this Mirror. http://uk.maven.org/maven2/ ibiblio central Human Readable Name for this Mirror. http://mirrors.ibiblio.org/pub/mirrors/maven2/ jboss-public-repository-group central JBoss Public Repository Group http://repository.jboss.org/nexus/content/groups/public JBossJBPM central JBossJBPM Repository https://repository.jboss.org/nexus/content/repositories/releases/

解决IDEA Maven 下载依赖包速度过慢问题_idea maven下载慢_离岸&南墙的博客-CSDN博客



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3