idea中maven无法拉取报:Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5

(1)图片问题显示,不管怎么更新和clear本地的maven都不行
在这里插入图片描述
(2)我的解决方法
把自己的maven下载仓库地址,换成阿里的
在这里插入图片描述
在这里插入图片描述

	<mirror>
      <id>alimaven</id>
      <mirrorOf>central</mirrorOf>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
    </mirror>

A problem occurred configuring project ':com.biz-united.empower.code.saturn'. > Could not resolve all artifacts for configuration ':com.biz-united.empower.code.saturn:classpath'. > Could not find org.gradle:gradle-core:4.2. Searched in the following locations: - file:/Users/jiege/.m2/repository/org/gradle/gradle-core/4.2/gradle-core-4.2.pom - https://maven.aliyun.com/repository/central/org/gradle/gradle-core/4.2/gradle-core-4.2.pom - http://maven.biz-united.com.cn:28080/artifactory/libs-release-local/org/gradle/gradle-core/4.2/gradle-core-4.2.pom - https://repo.maven.apache.org/maven2/org/gradle/gradle-core/4.2/gradle-core-4.2.pom Required by: project :com.biz-united.empower.code.saturn > com.biz-united.empower.saturn:saturn-gradle-plugin:202109 > Could not find org.gradle:gradle-tooling-api:4.2. Searched in the following locations: - file:/Users/jiege/.m2/repository/org/gradle/gradle-tooling-api/4.2/gradle-tooling-api-4.2.pom - https://maven.aliyun.com/repository/central/org/gradle/gradle-tooling-api/4.2/gradle-tooling-api-4.2.pom - http://maven.biz-united.com.cn:28080/artifactory/libs-release-local/org/gradle/gradle-tooling-api/4.2/gradle-tooling-api-4.2.pom - https://repo.maven.apache.org/maven2/org/gradle/gradle-tooling-api/4.2/gradle-tooling-api-4.2.pom Required by: project :com.biz-united.empower.code.saturn > com.biz-united.empower.saturn:saturn-gradle-plugin:202109 Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
最新发布
09-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值