我正在运行 Maven 3.0.4。我能够成功运行清理、打包、安装。但是当我运行时mvn deploy
,我得到一个错误:
我正在测试这个有 4 个项目的小型 java 模块:1 个父 P1 和 3 个子 C1、C2、C3。现在这个父 P1 继承自当前未上传到存储库中的主项目 M1。所以问题。当我尝试构建 P1 时,它会引发错误
Non-resolvable parent POM: Failure to find .....:pom:1.0.0 in http://myserver.net.intra:9000
/nexus/content/repositories/public/ was cached in the local repository, resolution will not be
reattempted until the update interval of releases has elapsed or updates are forced and
'parent.relativePath' points at wrong local POM @ line 6, column 10
更新 :
mvn deploy:deploy-file
正在工作并成功上传 JAR。但是mvn deploy
给出了这个:
Failed to execute goal on project jurisdiction-business: Could not resolve dependencies for
project com.a.b.c.d.-business:war:0.0.1-SNAPSHOT: Failure to find om.a.b.c.d.:jar:0.0.1-20121110.071100-3
in http://myserver.net.intra:9000/nexus/content/repositories/public-snapshots as cached in the
local repository, resolution will not be reattempted until the update interval of snapshots has
elapsed or updates are forced