I\'ve just installed Nexus 2.2-01 behind a corporate proxy. Maven is working when I go direct to the Central repo, but when I configure the
in
I've seen this error today and the only thing that fixed it was going back to maven 3.2.5 (from 3.3.9)
Argh! DNS issue - using the IP address in the maven settings.xml fixed the problem.
The other answer is correct, but just a note for people who get here with the same problem but the above answer doesn't help: Check your settings.xml proxy settings.
For this it seems that either
If the urls are correctly defined in there, possibly you need to open the hosts file in C:\Windows\System32\drivers\etc and map the server you are connecting to its corresponding IP... by adding a line that looks like this:
11.111.11.11 RepoUrl
this way you are declaring that the baseurl with name RepoUrl is actually the ip 11.1....