从官方maven仓库拉取依赖,会超级慢。可配置settings.xml,强制从私服拉取
<mirrors> <mirror> <id>nexus-releases</id> <mirrorOf>*</mirrorOf> <url>http://mvn1.tools.xxx.com/nexus/content/groups/public</url> </mirror> <mirror> <id>nexus-snapshots</id> <mirrorOf>*</mirrorOf> <url>http://mvn1.tools.xxx.com/nexus/content/repositories/snapshots</url> </mirror> </mirrors>