搞 maven install 模块的时候报错:html
Failure to find com.rongpd:rpd:pom:1.0 in xxx was cached in the local repository, resolution will not be reattempted until the update interval of maven-aliyun has elapsed or updates are forced
由于我想 install 的模块是 core , 它依赖 kit模块, 而 kit 模块 已经 install 成功了。 apache
他们都一个 父模块。 在 install core的时候就不行了。 maven
从上面的提示,特别是最后一句, 差很少了 阿里云 maven库 不能更新或者下载不来 core jar包。。。阿里云
由于 配置的是 阿里云的库。 这个 错误 确定的了,由于怎么可能从阿里云库下载到 core 这个项目模块?code
而 第一句的错误,就看起 来 比较奇怪,看不出什么意思。固然了 com.rongpd 是 项目的 包 前缀了。xml
百度参考一下:htm
https://zhidao.baidu.com/question/1959276738138777220.htmlip
The project com.creditcloud:Gateway:1.0-SNAPSHOT (F:\工做\部署文档\Gateway\pom.xml) has 1 error Non-resolvable parent POM: Failure to find com.creditcloud:Parent:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 9, column 13 -> [Help 2] 找不到 com.creditcloud:Parent:pom:1.0.0 若你是用多模块的话,先到 Parent 里面,mvn clean install
报错和个人很相似。文档
因而 试着 在父模块 进行 编译和打包: mvn clean install -Dmaven.test.skip=true部署
果真成功了。
成功以后, 继续在 core 模块,单独进行 install 也成功了。估计须要先从父模块 install 成功以后,才能够到 子模块的