云效 java编译的时候提示缺少依赖 我上传了依赖还是报错,怎么解决?
[14:36:51] [ERROR] Failed to execute goal on project coupon-dock: Could not resolve dependencies for project com.samsung.coupon:coupon-dock:jar:1.0-SNAPSHOT: Could not find artifact org.apache.account:account:jar:1.0.8 in mirror (https://maven.aliyun.com/nexus/content/groups/public) -> [Help 1]
[14:36:51] [ERROR]
[14:36:51] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[14:36:51] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[14:36:51] [ERROR]
[14:36:51] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[14:36:51] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[14:36:51] [ERROR]
[14:36:51] [ERROR] After correcting the problems, you can resume the build with the command
[14:36:51] [ERROR] mvn -rf :coupon-dock
[14:36:52] [ERROR] BUILD ERROR
[14:36:52] [ERROR] 147085015
[14:36:52] [ERROR] 步骤运行失败,返回码: 1
如果上传到非生产库-snapshot的,那您的版本里最好带一下SNAPSHOT org.apache.account:account:jar:1.0.8 ,比如jar包的版本换成 1.0.8-SNAPSHOT。此回答整理自钉群“云效交付域答疑群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。