maven-central代理仓库

  1. 默认maven-central配置的是中央仓库,在国外 下载非常慢,所以我们需要修改为阿里云的镜像仓库

  2. 点击Repositories -> maven-central 修改Proxy中Remote storage为http://maven.aliyun.com/nexus/content/groups/public,然后点击save

image.png

3-party仓库

  1. 在最新版本中没有3-party仓库,需要我们自己手动创建


  1. 点击Repositories -> Create repository

image.png

  1. 然后选择maven2(hosted)

image.png

  1. 输入名称,最后点击Create repository

image.png

  1. 最后将3rd-party加入maven-public中

image.png