配置文件
CentOS: /usr/share/maven/conf/settings.xml
<servers>
<server>
<id>bingo</id>
<username>jenkins</username>
<password>B$c2019Arti</password>
</server>
</servers>
<mirrors>
<mirror>
<id>bingo</id>
<mirrorOf>bingo</mirrorOf>
<name>Bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</mirror>
</mirrors>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>fingo</id>
<name>bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bingo</id>
<name>bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</pluginRepository>
</pluginRepositories>
<id>bingo</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bingo</activeProfile>
</activeProfiles>
Mac: /usr/local/Cellar/maven/3.6.0/libexec/conf/settings.xml
<servers>
<server>
<id>bingo</id>
<username>kinshu</username>
<password>FIGHT2020</password>
</server>
</servers>
<mirrors>
<mirror>
<id>fingo</id>
<mirrorOf>bingo</mirrorOf>
<name>Bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</mirror>
</mirrors>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>fingo</id>
<name>bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bingo</id>
<name>bingo</name>
<url>http://176.72.71.78:8081/artifactory/bingo</url>
</pluginRepository>
</pluginRepositories>
<id>bingo</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bingo</activeProfile>
</activeProfiles>
谢谢阅读!