<?xml version="1.0"?>
<settings>
<localRepository>/home/yizhen/.m2/repository</localRepository><!--需要改成自己的maven的本地仓库地址-->
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>nexus</id>
<name>local private nexus</name>
<url>http://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>http://maven.oschina.net/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile></profiles>
</settings>
超快的maven setting文件
原创
©著作权归作者所有:来自51CTO博客作者wx605ae7528ac4e的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:idea出现的问题记录
下一篇:博客园定制化CSS样式

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
关于Maven的setting文件
Maven这一块之前用的稀里糊涂的,自己配置好了就一直没有动过。Maven下载
maven xml 远程仓库