本文主要是介绍thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: Execution default of goal,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错如上,这是编译3.0遇到的问题
Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: Execution default of goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke failed: Plugin org.thingsboard:gradle-maven-plugin:1.0.10 or one of its dependencies could not be resolved: Could not find artifact org.gradle:gradle-tooling-api:jar:6.3 in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)
刚解决过来回答一波。镜像的问题,还是要用阿里云镜像,但是url不同,下面这个实测可以
切换到maven安装目录下的conf文件下,修改setting.xml
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
<mirrors>
这样改过以后我编译就不报错了,顺便贴一下报错的代码,告诫一下
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
<mirrors>
这篇关于thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: Execution default of goal的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!