提交 c84f57d1 编写于 作者: RunAtWorld's avatar RunAtWorld

maven settings

上级 cd1d54a3
......@@ -19,7 +19,7 @@
- [svn 常用指令](./svn_cmd.md)
- [git 常用指令](./gitcmd.md) / [git 官方中文教程](https://git-scm.com/book/zh/v2)
+ 开发
- [maven 命令](./mavencmd.md)
- [maven 命令](./maven/mavencmd.md) / [maven仓库配置](./maven/maven_setting.xml)
### 2.4 面试相关
......
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:/maven_repo</localRepository>
<mirrors>
<mirror>
<!--该镜像的id-->
<id>nexus-aliyun</id>
<!--该镜像用来取代的远程仓库,central是中央仓库的id-->
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<!--该镜像的仓库地址,这里是用的阿里的仓库-->
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
</settings>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册