maven常用镜像源
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | < mirrors > < mirror > < id >ibiblio</ id > < mirrorOf >central</ mirrorOf > < name >Human Readable Name for this Mirror.</ name > < url >https://maven.aliyun.com/mvn/view</ url > </ mirror > < mirror > < id >central</ id > < name >Maven Repository Switchboard</ name > < url >http://repo1.maven.org/maven2/</ url > < mirrorOf >central</ mirrorOf > </ mirror > < mirror > < id >repo2</ id > < mirrorOf >central</ mirrorOf > < name >Human Readable Name for this Mirror.</ name > < url >http://repo2.maven.org/maven2/</ url > </ mirror > < mirror > < id >jboss-public-repository-group</ id > < mirrorOf >central</ mirrorOf > < name >JBoss Public Repository Group</ name > < url >http://repository.jboss.org/nexus/content/groups/public</ url > </ mirror > < mirror > < id >alimaven</ id > < name >aliyun maven</ name > < url >http://maven.aliyun.com/nexus/content/groups/public/</ url > < mirrorOf >central</ mirrorOf > </ mirror > <!--<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/repositories/central</url> </mirror>--> </ mirrors > < profiles > < profile > < id >nexus</ id > < repositories > < repository > < id >nexus</ id > < name >local private nexus</ name > < url >https://maven.oschina.net/content/groups/public/</ url > < releases > < enabled >true</ enabled > </ releases > < snapshots > < enabled >false</ enabled > </ snapshots > </ repository > </ repositories > < pluginRepositories > < pluginRepository > < id >nexus</ id > < name >local private nexus</ name > < url >https://maven.oschina.net/content/groups/public/</ url > < releases > < enabled >true</ enabled > </ releases > < snapshots > < enabled >false</ enabled > </ snapshots > </ pluginRepository > </ pluginRepositories > </ profile > </ profiles > |
遇到依赖问题可以换源多尝试一下
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | < mirrors > < mirror > < id >aliyunmaven</ id > < mirrorOf >*</ mirrorOf > < name >aliyun maven</ name > < url >https://maven.aliyun.com/repository/public</ url > </ mirror > < mirror > < id >alimaven</ id > < name >aliyun maven</ name > < url >http://maven.aliyun.com/nexus/content/groups/public/</ url > < mirrorOf >central</ mirrorOf > </ mirror > </ mirrors > |
分类:
java
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 【.NET】调用本地 Deepseek 模型
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库