全部建议 > 建议详情
  • 预审中
  • 预审通过
  • 已采纳
  • 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 FengYu 发布于 2020-07-19 23:07:53 2020-07-19

609 2

100%
1人赞同
0%
0人不赞同

全部评论(2

评论(2

  • 【云声小管家】 思雨 2020-12-02 10:10:30

    您提出的建议产品团队已经优化上线解决啦,感谢您的反馈,若在使用还有其它建议,可在云声平台继续反馈,我们收到后会尽快处理。感谢您对华为云的支持!

  • 【云声小管家】 思雨 2020-07-20 15:44:47

    非常感谢您的反馈,您的建议我们已经收到,并已提交至相关产品团队进行核查评估,评估完成后对于建议是否采纳会尽快给您答复,也请您持续关注云声平台,了解建议进一步处理进展,感谢您对华为云的支持!

登录后可评论,请 注册

0/1000

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

评论
发表评论...
取消 发表

0/1000

评论成功

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

删除建议

设置昵称

在此一键设置昵称,即可发表云声建议!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。