{"id":2325,"date":"2017-05-17T16:15:27","date_gmt":"2017-05-17T16:15:27","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=2325"},"modified":"2017-05-17T16:16:06","modified_gmt":"2017-05-17T16:16:06","slug":"resolution-will-not-be-reattempted-until-the-update-interval-of-myrepo-has-elapsed","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/resolution-will-not-be-reattempted-until-the-update-interval-of-myrepo-has-elapsed\/","title":{"rendered":"Resolution will not be reattempted until the update interval of MyRepo has elapsed"},"content":{"rendered":"<pre>\r\nFailure to find org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.4.0 in http:\/\/myrepo:80\/artifactory\/repo was cached in the local repository, resolution will not be reattempted until the update interval of MyRepo has elapsed or updates are forced -> [Help 1]\r\n<\/pre>\n<p>The above statement tells that the artifact is cached in local repository.Now the artifact is not going to get downloaded unless it is <\/p>\n<ol>\n<li>It is forced to update from client Side<\/li>\n<li>Forcing from server side the expiration time<\/li>\n<\/ol>\n<p><strong>From Client Side 3 Solutions<\/strong><\/p>\n<ol>\n<li>Using Maven Update to force update Snapshots(Mostly doesn&#8217;t work)<\/li>\n<li>Deleting the failed directory of Snapshot and forcing it to download<\/li>\n<li>By setting the Time interval for looking for Snapshot<br \/>\n<em>c:\\Users\\mugilvannan\\maven\\conf\\settings.xml<\/em><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;profile&gt;\r\n  &lt;id&gt;nexus&lt;\/id&gt;\r\n  &lt;!--Enable snapshots for the built in central repo to direct --&gt;\r\n  &lt;!--all requests to nexus via the mirror --&gt;\r\n  &lt;repositories&gt;\r\n    &lt;repository&gt;\r\n      &lt;id&gt;central&lt;\/id&gt;\r\n      &lt;url&gt;http:\/\/central&lt;\/url&gt;\r\n      &lt;releases&gt;&lt;enabled&gt;true&lt;\/enabled&gt;&lt;updatePolicy&gt;always&lt;\/updatePolicy&gt;&lt;\/releases&gt;\r\n      &lt;snapshots&gt;&lt;enabled&gt;true&lt;\/enabled&gt;&lt;updatePolicy&gt;always&lt;\/updatePolicy&gt;&lt;\/snapshots&gt;\r\n    &lt;\/repository&gt;\r\n  &lt;\/repositories&gt;\r\n &lt;pluginRepositories&gt;\r\n    &lt;pluginRepository&gt;\r\n      &lt;id&gt;central&lt;\/id&gt;\r\n      &lt;url&gt;http:\/\/central&lt;\/url&gt;\r\n      &lt;releases&gt;&lt;enabled&gt;true&lt;\/enabled&gt;&lt;updatePolicy&gt;always&lt;\/updatePolicy&gt;&lt;\/releases&gt;\r\n      &lt;snapshots&gt;&lt;enabled&gt;true&lt;\/enabled&gt;&lt;updatePolicy&gt;always&lt;\/updatePolicy&gt;&lt;\/snapshots&gt;\r\n    &lt;\/pluginRepository&gt;\r\n  &lt;\/pluginRepositories&gt;\r\n&lt;\/profile&gt;\r\n<\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Failure to find org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.4.0 in http:\/\/myrepo:80\/artifactory\/repo was cached in the local repository, resolution will not be reattempted until the update interval of MyRepo has elapsed or updates are forced -> [Help 1] The above statement tells that the artifact is cached in local repository.Now the artifact is not going to get downloaded unless it is&hellip; <a href=\"https:\/\/codethataint.com\/blog\/resolution-will-not-be-reattempted-until-the-update-interval-of-myrepo-has-elapsed\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[215],"tags":[],"class_list":["post-2325","post","type-post","status-publish","format-standard","hentry","category-maven"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=2325"}],"version-history":[{"count":2,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2325\/revisions"}],"predecessor-version":[{"id":2327,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2325\/revisions\/2327"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=2325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=2325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=2325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}