配置项目

  1. 现在需要配置项目强制从nexus私服中下载依赖包

  2. 首先找到maven的setting.xml配置文件,在setting标签中使用profiles标签配置使用的私服仓库地址,而且一般都是直接用私服中的仓库组 ```xml <?xml version=”1.0” encoding=”UTF-8”?>

    ..xxxxxxxxxxxxxxx nexus nexus Nexus http://localhost:8081/repository/maven-public/ true true nexus Nexus Plugin Repository http://localhost:8081/repository/maven-public/ true true nexus ..xxxxxxxxxxxxxxx

```