maven执行报错resolution will not be reattempted until the update interval of nexus h

阅读更多
maven在执行过程中抛错:
引用
... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

原因就是有些jar包没有完全下载完成,在编译的时候找不到jar包。只需要在配置文件中增加一个更新策略always就可以了。
找到你的conf/setting.xml
引用


  nexus
 
 
 
   
      central
      http://central
      truealways
      truealways
   

 


   
      central
      http://central
      truealways
      truealways
   

 



你可能感兴趣的:(maven)