将本地jar 导入本地maven仓库
mvn install:install-file -Dfile=maven-settings-3.0.jar -DgroupId=org.apache.maven -DartifactId=maven-settings -Dversion=3.0 -Dpackaging=jar
然后再pom中引用
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>3.0</version>
</dependency>
导入成功,我使用的是私服 nexus