maven项目子工程相互依赖错误解决
错误表象:父工程A下有两个工程B,C,B的pom文件中依赖了C,C中maven compile 报错,A下install报错
错误代码:Failure to find com.testcrud:testcrud-parent:pom:1.0.0 in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced
解决方法:原因C中Pom文件打包成了POM,<packaging>pom</packaging>这段话删除后解决