解决问题:Could not transfer artifact org.apache.maven.surefire:surefire-junit-platform:pom:2.22.2
报错提示:
Could not transfer artifact org.apache.maven.surefire:surefire-junit-platform:pom:2.22.2 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public/): transfer failed for
场景:
使用maven对项目进行打包
问题分析:
无法从远程获取Maven打包工具
解决方法:
1、File-》Setting-》maven 检查配置是否为自己下载的maven位置
2、在maven的setting.xml文件中修改镜像资源配置
<mirror>