maven --设置私服

       设置私服开启中央仓库,可以直接使用中央仓库添加所需的jar文件

1、登录  Nexus后 

点【Repositories】 ----->【Central】 页面下面-----> 【Configuration】 

主要是Remote Storage Location :http://repo1.maven.org/maven2/  (默认)

         Download Remote Indexes 设置为 True (默认false)

如图:

猜你喜欢

转载自yujun200.iteye.com/blog/1566571