Re: Fail fast for 401 Unauthorized failures

2016-07-27 Thread Gordon Cody
Docs are not always accurate. Sometimes they are simply not up to date. All of our GET/PUT requests include credentials on the first attempt. This is from our settings.xml. Notice the tag , someID someUser somePassword httpclient

Re: Fail fast for 401 Unauthorized failures

2016-07-26 Thread Tomasz Juchniewicz
Probably not. Following docs preemptive authentication is for PUT requests. I have a problem with downloading. 2016-07-25 20:43 GMT+02:00 Mirko Friedenhagen : > Hello, > > maybe > > https://maven.apache.org/guides/mini/guide-http-settings.html#Example:_Using_Preemptive_Authentication > could help

Re: Fail fast for 401 Unauthorized failures

2016-07-25 Thread Mirko Friedenhagen
Hello, maybe https://maven.apache.org/guides/mini/guide-http-settings.html#Example:_Using_Preemptive_Authentication could help. Regards Mirko -- Sent from my mobile Am 25.07.2016 15:11 schrieb "Tomasz Juchniewicz" : > Hi, > > I'm working in corporate environment with strict password locking pol

Fail fast for 401 Unauthorized failures

2016-07-25 Thread Tomasz Juchniewicz
Hi, I'm working in corporate environment with strict password locking policies. After 5 authentication errors my account is locked. My problem is that Maven tries to download artifacts and not every error (e.g. downloading maven-metadata.xml) causes to stop the build and this leads to account loc