springboot项目打包时提示Could not find artifact *** :pom:1.0.0 in nexus-aliyun
Could not find artifact com.boc.ljh:appconfig:pom:1.0.0 in nexus-aliyun设置setting修改解决There are test failures.Please refer to D:\Projects\java_basic\app-jna-sdk\target\surefire-reports for the individua
·
问题:Could not find artifact com.boc.ljh:appconfig:pom:1.0.0 in nexus-aliyun
原因:
我是在打包时提示appconfig这个依赖在aliyun中找不到,我心想肯定找不到啊,因为appconfig是我开发的子模块,既然这样为什么还会把子模块加载进去呢,原因是因为我设置的问题
解决方法:
打包时不要在设置中勾选以下两个选项,开发环境可以勾选。
File—>setting—>Maven中将不要勾选下面这个Always update snapshots
File—>setting—>Maven—>Runner中将不要勾选下面这个Deletes IDE***选项
更多推荐
已为社区贡献8条内容
所有评论(0)