- 预审中
- 预审通过
- 已采纳
- 4 已实现
【产品缺陷】Maven镜像仓库未同步gradle plugins 已实现 编辑 删除
- 华为开源镜像站 Mirrors
- 软件开发生产线 CodeArts
问题描述:
使用gradle的时候会使用到gradle plugin,配置华为云镜像仓库的时候就会报错:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'backend'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find gradle.plugin.com.energizedwork:idea-gradle-plugins:1.4.
Searched in the following locations:
https://repo.huaweicloud.com/repository/maven/gradle/plugin/com/energizedwork/idea-gradle-plugins/1.4/idea-gradle-plugins-1.4.pom
https://repo.huaweicloud.com/repository/maven/gradle/plugin/com/energizedwork/idea-gradle-plugins/1.4/idea-gradle-plugins-1.4.jar
Required by:
project :
> Could not find org.grails.plugins:hibernate5:6.1.8.
Searched in the following locations:
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/hibernate5/6.1.8/hibernate5-6.1.8.pom
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/hibernate5/6.1.8/hibernate5-6.1.8.jar
Required by:
project :
> Could not find org.grails.plugins:views-gradle:1.2.6.
Searched in the following locations:
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/views-gradle/1.2.6/views-gradle-1.2.6.pom
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/views-gradle/1.2.6/views-gradle-1.2.6.jar
Required by:
project :
> Could not find org.grails.plugins:database-migration:3.0.3.
Searched in the following locations:
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/database-migration/3.0.3/database-migration-3.0.3.pom
https://repo.huaweicloud.com/repository/maven/org/grails/plugins/database-migration/3.0.3/database-migration-3.0.3.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
看了下镜像源地址,也确实少了gradle plugins
建议方案:
增加gradle plugins的仓库地址: https://plugins.gradle.org/m2/
FengYu
发布于 2020-07-19 23:07:53
2020-07-19
609 2
0/1000
仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB
删除建议
全部评论(2)
评论(2)
您提出的建议产品团队已经优化上线解决啦,感谢您的反馈,若在使用还有其它建议,可在云声平台继续反馈,我们收到后会尽快处理。感谢您对华为云的支持!
非常感谢您的反馈,您的建议我们已经收到,并已提交至相关产品团队进行核查评估,评估完成后对于建议是否采纳会尽快给您答复,也请您持续关注云声平台,了解建议进一步处理进展,感谢您对华为云的支持!