Nexus won't download artifacts from Central

后端 未结 4 1676
礼貌的吻别
礼貌的吻别 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: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....

提交回复
热议问题