原来的settings.xml文件放在D:/.m2目录下导致某些jar不能下载,
需把settings.xml文件放在D:apache-maven-3.6.1conf路径下。
maven配置如下:
idea配置如下: