Nexus won't download artifacts from Central

后端 未结 4 1677
礼貌的吻别
礼貌的吻别 2021-01-22 01:23

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

相关标签:
4条回答
  • 2021-01-22 02:07

    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)

    0 讨论(0)
  • 2021-01-22 02:12

    Argh! DNS issue - using the IP address in the maven settings.xml fixed the problem.

    0 讨论(0)
  • 2021-01-22 02:19

    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.

    0 讨论(0)
  • 2021-01-22 02:25

    For this it seems that either

    1. the proxy section in your settings.xml is causing an issue (you should remove them or fix them)
    2. URL issue in your maven settings.xml

    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....

    0 讨论(0)
提交回复
热议问题