1.首选项设置
2. settings.xml
3.pom.xml
<dependencies>
<dependency>//添加依赖,想要添加某一个依赖库的具体信息、百度即可
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>