使用nexus代理更新索引的方法

使用nexus代理maven仓库更新索引的方法。


1,下载http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip


2,在cmd窗口总用nexus stop 命令停止nexus服务


3,找的nexus安装目的中的sonatype-work\nexus\indexer\central-ctx文件夹,将其中的文件全部删除


4,将nexus-maven-repository-index.zip解压后,放到sonatype-work\nexus\indexer\central-ctx下面

5,重启nexus即自动更新索引

猜你喜欢

转载自liuyunlong1229.iteye.com/blog/1680328