maven地址配置为阿里maven仓库,附ali maven官方指南链接
2024-10-20 08:29:32
一、参考链接
官方指南
链接地址:https://help.aliyun.com/document_detail/102512.html?spm=a2c40.aliyun_maven_repo.0.0.36183054BpUElw
官方指南配置:
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
网友blog配置
https://blog.csdn.net/qq_25925973/article/details/82391940
配置备份
1.mirros节点中接入mirro子节点
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
2.profiles节点中加入profile子节点
<profile>
<id>jdk-1.8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<repositories>
<repository>
<id>nexus</id>
<name>local private nexus</name>
<url>http://maven.aliyun.com/nexus/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>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
最新文章
- Amabri:如何删除或停止指定的服务
- 组件RecyclerView的应用(一)
- js 怎么屏蔽微信打开网页后的分享
- CMake安装(linux)
- FOJ 1205
- BufferedReader方法-----Scanner方法
- 【BZOJ 1006】[HNOI2008]神奇的国度
- Cts框架解析(12)-ITargetPreparer
- PLS-00306:错误解决思路 - OracleHelper 执行Oracle函数的坑
- Swift lazy 修饰符和方法
- PHP 进行统一邮箱登陆的代理实现(swoole)
- 自己动手写RTP服务器——传输所有格式的视频
- hdu 1885 Key Task(bfs)
- consul怎么在windows下安装
- 支持老版本IE的3种解决方案
- Spark SQL相关总结
- IDEA远程调试服务器代码
- [2019/03/17#杭师大ACM]赛后总结(被吊锤记)
- BZOJ 4405 [wc2016]挑战NPC 带花树 一般图最大匹配
- ajax POST跨域请求完美解决