私はmaven 3.0.4を実行しています。クリーン、パッケージ、インストールを正常に実行できます。しかし、実行mvn deploy
するとエラーが発生します。
私は、4 つのプロジェクト (1 つの親 P1 と 3 つの子 C1、C2、C3) を持つこの小さな Java モジュールをテストしています。現在、この親 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