Checking the "authorization and authentication" system feed in the Nexus UI can help narrow this down. Run mvn with -e -X options and check the debug output. daz 2012-06-28 23:09:00 UTC #2 Your first step would be to run Gradle with '--info --stacktrace' so you get more details. Return code is: 401, ReasonPhrase: Unauthorized. check over here
XBN-Java is the foundation of Codelet (http://codelet.aliteralmind.com).
I misspelled the password. If the server is using https but the URL in your POM is http, you might get 401 as well. posted 2 years ago Also, where is your settings.xml file located?
We were using 3.1.0 and could not upload to nexus, we kept getting 401's, we reverted back to 3.0.3 and the issue went away. I've been taking a lot from SO recently, so I'm glad that I've been able to help someone else, your question has been the first time someone's accepted my answer! –John Thanks for the support! Failed To Deploy Artifacts Could Not Transfer Artifact Return Code Is 400 Reasonphrase Bad Request In Nexus, this means the Nexus server asks you log in first before doing things like deploying artifacts.
My observation was it's working if we install maven using apt-get install and it's not working if we unzip the maven tar and exported in $PATH. –Gangaraju Apr 5 '16 at Artifactory Return Code Is: 401, Reasonphrase: Unauthorized How to deal with an intern's lack of basic skills? Couple of hints... I can suggest you copying the respective snippets from repository page in Artifactory: share|improve this answer answered Dec 26 '13 at 19:45 JBaruch 12.7k3265 Hi!
You should not need to do that. –Manfred Moser Dec 16 '13 at 16:58 Oh my good! , you save my night , thx it works perfectly –Adnen Chouibi Maven Deploy Username Password Code 502 - Reverse Proxy Timeout You have a reverse proxy in front of Nexus (such as Nginx or Apache+mod_proxy) and the pending deployment request had no activity for the period share|improve this answer edited Jul 18 '14 at 18:29 aliteralmind 11.1k63971 answered Jul 18 '14 at 17:54 Moe Singh 1356 I am aliteralmind. Show Rich Seddon added a comment - 04/15/13 06:09 PM An SSL certificate error will not give you a 401 response.
Why are Zygote and Whatsapp asking for root? http://juicecoms.com/return-code/eza1735i-std-return-code-10234-error-code-00010.html Return code is: 401 -> [Help 1] Please help me. There are two common causes for this. How can I stop Alexa from ordering things if it hears a voice on TV? Nexus Failed To Transfer File Return Code Is 401 Reasonphrase Unauthorized
If you are receiving a 401 it is because maven is sending the wrong login credentials, or no credentials at all. That leaves me with either a bug in LightweightHttpWagon or something wrong with my build.gradle file (which is why I presented it). Atlassian this content That drives Maven crazy in some unpredicted ways (Maven good in that).
Thanks & Regards Senthil Kumar C Show Senthil Kumar Chandran added a comment - 06/05/12 10:33 AM Got it! Error Deploying Artifact Failed To Transfer File Return Code Is 500 Excerpt from pom.xml:
I was so focused in the Stack trace that I didn't read the last lines of the build before the Reactor summary and the stack trace: [DEBUG] Using connector AetherRepositoryConnector with
Make sure to drop the repo you just created. Not the answer you're looking for? Generalization of winding number to higher dimensions undo a gzip recursively When was today's radar measurement of the Earth-Sun distance made and by who? Mng-4469 another server has the same IP as the Nexus host and your reverse proxy is confused.
Although it said that it was an authentication error actually it got fixed doing a "rebuild metadata" in the nexus repository. Then check below to see what the code means, and how to diagnose and fix the issue. Could not publish configuration ':archives'. have a peek at these guys They are a mix of personal and professional posts.
I would suspect the username or password except that they were explicitly copied from my settings.xml file and the Maven deployment works. Hide Permalink Alberto Corral added a comment - 04/16/13 08:04 AM - edited Thanks Rich. Hmmm... The second common reason for this code is that you are trying to deploy a release artifact into a snapshot repository, or vice versa.
How to copy text from command line to clipboard without using the mouse? Includes the third-party code listed here. I use my real user/pass when logging in, and in the real settings file. –aliteralmind Jul 18 '14 at 17:49 add a comment| 10 Answers 10 active oldest votes up vote Apache Maven and Maven are trademarks of the Apache Software Foundation.
Does it have a "server" section with ID "releases", and the correct username and password? In this case use code curl -u username:password --request PUT --data target/api-1.0-SNAPSHOT.jar http://url/artifactory/libs-snapshot-local/com/myproject/api/1.0-SNAPSHOT/api-1.0-20160128.114425-1.jar instead –TouDick Jul 5 '16 at 11:08 add a comment| up vote 2 down vote just change in See: https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven -->
Why are Zygote and Whatsapp asking for root? Pages Home Family George Tweet Share July 30, 2010 Maven/Nexus Failed to transfer file: Return code is: 401 If you ever get the following error Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer Try JIRA - bug tracking software for your team. And cases where the file was in the Maven conf directory but the user was using a different copy of Maven to do the compile (very easy to do when using