用Maven clean的时候,老是出现下面这个错误
was cached in the local repository, resolution will not be reattempted until the update interval of
后面找到Repository里这个jar包中xxx.lastUpdated, 一旦这个文件存在,那么在直到下一次nexus更新之前都不会更新这个依赖库。
解决方案:
就是删除这个xxx.lastUpdated文件,再重新maven clean就解决问题了!