1,如果是仓库里面更新不下来索引的话,直接在仓库的名字上面update Index,
2,如果是本地更新遇到如下问题:
Failure to find <artifact> in http://<your nexus url> was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
解决方案:
- Run Maven using -U
-U,--update-snapshots Forces a check for updated releases and snapshots on remote repositoriey
- Delete the corresponding groupId folder in your local repository