maven更新不下来jar

来源:互联网 发布:安知非人之谮诉的拼音 编辑:程序博客网 时间:2024/04/27 22:28

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

原创粉丝点击