XiaoMi / mone

No description, website, or topics provided

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

依赖项dubbo无法获取

keisni opened this issue · comments

[ERROR] Failed to execute goal on project log: Could not resolve dependencies for project run.mone:log:jar:1.7-SNAPSHOT: Could not find artifact org.apache.dubbo:dubbo:jar:2.7.0-youpin-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :log

今天给你解下

需要修改下maven 的配置
引入maven**仓库
拉包不需要申请任何权限,只需要修改maven的settings.xml,添加ossrh源


ossrh
ossrh-snapshot
https://s01.oss.sonatype.org/content/repositories/snapshots

如何你的settings.xml里有镜像相关,添加 !ossrh


others
*,!central,!miremote,!snapshots,!ossrh
https://xxxxxtest.text

fixed!