手动更新nexus的索引

Posted Write the Code Change the Worl

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了手动更新nexus的索引相关的知识,希望对你有一定的参考价值。

1.下载文件

  nexus-maven-repository-index.gz 
    nexus-maven-repository-index.properties 

  indexer-cli-5.1.0.jar

2.安装

  将三个文件移到同一个文件夹

  执行命令java -jar indexer-cli-5.1.0.jar -u nexus-maven-repository-index.gz -d indexer 

  将原来indexer文件夹中的文件全部删除

  将indexer文件夹中的文件全部放到central-ctx

  重启nexus

以上是关于手动更新nexus的索引的主要内容,如果未能解决你的问题,请参考以下文章