maven配置阿里映象倉庫倉庫
阿新 • • 發佈:2018-12-27
<localRepository>D:\.m2\repository</localRepository> -----配置本地倉庫地址
<mirror> ------配置阿里映象倉庫
<!--This sends everything else to /public --><id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<mirror>
profile below over to a different nexus group -->
<id>nexus-public-snapshots</id>
<mirrorOf>public-snapshots</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
</mirror>
ok!----享受高速吧
ps:如果還是蝸牛速度,就重啟下idea,或許就可以了。