1. 链接Nexus 的数据库
java -jar ${nexus-path}/lib/support/nexus-orient-console.jar
connect plocal:${nexus-db-path}/db/component admin admin
2.修复数据库以及索引
repair database --fix-links
rebuild index *
repair database --fix-graph
repair database --fix-ridbags
repair database --fix-bonsai