When maven says “resolution will not be reattempted until the update interval of MyRepo has elapsed”, where is that interval specified?

前端 未结 19 1310
迷失自我
迷失自我 2020-11-22 16:49

With maven, I occasionally hit an artifact that comes from some 3rd-party repo that I haven\'t built or included in my repository yet.

I\'ll get an error message fr

19条回答
  •  再見小時候
    2020-11-22 17:32

    I had a related problem, but Raghuram's answer helped. (I don't have enough reputation yet to vote his answer up). I'm using Maven bundled with NetBeans, and was getting the same "...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]" error.

    To fix this I added always to my settings file (C:\Program Files\NetBeans 7.0\java\maven\conf\settings.xml)

    
      nexus
      
      
      
        
          central
          http://central
          truealways
          truealways
        
      
     
        
          central
          http://central
          truealways
          truealways
        
      
    
    

提交回复
热议问题