maven私服的配置
settings.xml
设置本地仓库
<!-- nexus-releases nexus-snapshots与settings.xml中server下的id对应 --><distributionManagement><repository><id>nexus-releases</id><name>Nexus Releases Repository</name><url>http://localhost:8081/nexus/content/repositories/releases/</url></repository><snapshotRepository><id>nexus-snapshots</id><name>Nexus Snapshots Repository</name><url>http://localhost:8081/nexus/content/repositories/snapshots/</url></snapshotRepository></distributionManagement>
检查setting中是否含有mirror信息
使用mvn help:effective-pom -s F:/.m2/settings.xml查看pom的完整性