增加国内依赖仓地址配置:
<repositories>
<repository>
<id>tbds</id>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
</repository>
</repositories>
执行编译:
mvn clean package -DskipTests