Failed to execute goal on project roncoo-education-gateway: Could not resolve dependencies for project com.roncoo:roncoo-education-gateway:jar:5.0.0-SNAPSHOT: Could not find artifact com.roncoo:roncoo-education-util:jar:5.0.0-SNAPSHOT
刚开始遇到这个问题的时候,我的解决思路是 把 roncoo-education-util mvn install一下, 可是再回打包 还是报一样的错误。
最终找到原因,多模块项目,必须要将parent 先 mvn install 到本地 responsitory。
在 项目根目录执行 mvn install, 再回到 roncoo-education-gateway 执行 mvn package 就可以打包成功了