Failure to find xxx in xxx was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ xxx

问题:

在linux服务器上使用maven编译war时报错:

16:41:35 [FATAL] Non-resolvable parent POM for ***: Failure to find *** in *** was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ ***...

解决:

在mvn命令中添加 -U   该参数能强制更新服务器上的仓库缓存

原文地址:https://www.cnblogs.com/niceboat/p/6141940.html