How to resolve the common “resolution will not be reattempted ...

文章推薦指數: 80 %
投票人數:10人

The following artifacts could not be resolved: : Failure to find in https://artifactory:8081/artifactory/ ... JoeyNaor2021-01-2818:34 ARTIFACTORY:HowtoResolvetheCommonMavenError:resolutionwillnotbereattempted Whenbuildinganewproject,youmightencounteraverycommonMavenerror:[ERROR]Failedtoexecutegoalonproject:Couldnotresolvedependenciesforproject.Thefollowingartifactscouldnotberesolved::Failuretofindinhttps://artifactory:8081/artifactory/wascachedinthelocalrepository,resolutionwillnotbereattempteduntiltheupdateintervalofcentralhaselapsedorupdatesareforced->[Help1]ThisiscausedbyMaven’sdefaultupdatePolicy.Simplyput,MavenfetchesartifactsfromyourArtifactoryrepositoriesonadailybasis.However,iftherewereanyinterruptions,Mavenwillnotmakeafetchreattemptforanother24hours.  Tobypassthisdefaultrestriction,youcan: addthe-Uflagtothemaveninstallcommand,or configureyourMavenclients’settings.xml filewiththefollowingvalue:always Published:Sept.29,2020Lastupdated:Jan.25,2021 Keywords:Maven,updatepolicy ReleaseFastOrDie Success Youractionwassuccessful GetStarted x Oops...Somethingwentwrong Pleasetryagainlater Continue Information ModalMessage Continue X VdooisnowpartofJFroghelpingtodeliversecuresoftwareupdatesfromcodetotheedge. YouhavebeenredirectedtotheJFrogwebsite



請為這篇文章評分?