{"id":2838,"date":"2017-12-09T13:45:09","date_gmt":"2017-12-09T13:45:09","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2838"},"modified":"2021-11-18T06:19:34","modified_gmt":"2021-11-18T06:19:34","slug":"nexus-failed-to-deploy-artifacts-could-not-transfer-artifact","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/nexus-failed-to-deploy-artifacts-could-not-transfer-artifact\/","title":{"rendered":"Nexus &#8211; Failed to deploy artifacts: Could not transfer artifact"},"content":{"rendered":"<p><strong>scmuser created the topic: Nexus &#8211; Failed to deploy artifacts: Could not transfer artifact<\/strong><br>\n[code language=&#8221;css&#8221;]<br>\n[INFO]<br>\n[INFO] BUILD FAILURE<br>\n[INFO]<br>\n[INFO] Total time: 6.457 s<br>\n[INFO] Finished at: 2015-09-05T16:44:40+05:30<br>\n[INFO] Final Memory: 11M\/165M<br>\n[INFO]<br>\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-maven: Failed to deploy artifacts: Could not transfer artifact com.scmgalaxy.mavensample:my-maven:jar:3.0 from\/to deployment ( uvo193bnk02rz2cuv74.vm.cld.sr:8081\/nexus&#8230;positories\/releases\/ ): Failed to transfer file: uvo193bnk02rz2cuv74.vm.cld.sr:8081\/nexus&#8230;3.0\/my-maven-3.0.jar . Return code is: 401, ReasonPhrase: Unauthorized. -&gt; [Help 1]<br>\n[ERROR]<br>\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>\n[ERROR]<br>\n[ERROR] For more information about the errors and possible solutions, please read the following articles:<br>\n[ERROR] [Help 1] cwiki.apache.org\/confluence\/display\/MAVE&#8230;joExecutionException<br>\n[\/code]<\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_13378\"><iframe loading=\"lazy\"  id=\"_ytid_35149\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_13378\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: Nexus &#8211; Failed to deploy artifacts: Could not transfer artifact [code language=&#8221;css&#8221;] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 6.457 s [INFO] Finished at: 2015-09-05T16:44:40+05:30&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[426],"class_list":["post-2838","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-nexus"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2838"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2838\/revisions"}],"predecessor-version":[{"id":25668,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2838\/revisions\/25668"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}