Wednesday Oct 22

Key Concepts

Resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

PDFPrintE-mail
Wednesday, 13 July 2011 12:23
AddThis Social Bookmark Button

Resolution will not be reattempted Maven

If you get the following error when you try to retrieve an artifact from your Nexus server. You probably try to hit an artifact from a third party repository not configured. The problem occurs when you have added the missing third party repository and you retry to run Maven but it still complain that the resolution will not be reattempted:

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

To fix this situation you have two options : 

  • 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

If you have any remark or questions feel free to put a comment.If you enjoyed this tutorial and want to promote it don't hesitate to click on



Tags: maven, nexus, repository, update, artifact, resolution, reattempted

Comments  

 
0 #1 emdhie 2014-01-29 06:36
solved, thanks!
Quote
 

Add comment


Security code
Refresh

Java Tutorial on Facebook