标签:mave 技术分享 odi play 最简 local yun 分享图片 --
最简单的可用阿里镜像配置
1 <?xml version="1.0" encoding="UTF-8"?> 2 <settings> 3 <localRepository>D:\Tools\java\maven\repository</localRepository><!--需要改成自己的maven的本地仓库地址--> 4 <mirrors> 5 <mirror> 6 <id>alimaven</id> 7 <name>aliyun maven</name> 8 <url>http://maven.aliyun.com/nexus/content/groups/public/</url> 9 <mirrorOf>central</mirrorOf> 10 </mirror> 11 </mirrors> 12 <profiles> 13 <profile> 14 <id>nexus</id> 15 <repositories> 16 <repository> 17 <id>nexus</id> 18 <name>local private nexus</name> 19 <url>http://maven.oschina.net/content/groups/public/</url> 20 <releases> 21 <enabled>true</enabled> 22 </releases> 23 <snapshots> 24 <enabled>false</enabled> 25 </snapshots> 26 </repository> 27 </repositories> 28 29 <pluginRepositories> 30 <pluginRepository> 31 <id>nexus</id> 32 <name>local private nexus</name> 33 <url>http://maven.oschina.net/content/groups/public/</url> 34 <releases> 35 <enabled>true</enabled> 36 </releases> 37 <snapshots> 38 <enabled>false</enabled> 39 </snapshots> 40 </pluginRepository> 41 </pluginRepositories> 42 </profile></profiles> 43 </settings>
标签:mave 技术分享 odi play 最简 local yun 分享图片 --
原文地址:https://www.cnblogs.com/maojunyi/p/9297952.html