maveninstall报错アーティファクトが見つかりませんでした。

親プロジェクトの下の複数のサブプロジェクト間で引用すると、エラーが報告されます。

[ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.xxx:jar:0.0.1-SNAPSHOT: Could not find artifact com.xxx:pom:0.0.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

問題を解決するには、親プロジェクトの直下でクリーンアップしてインストールしてみてください

おすすめ

転載: blog.csdn.net/feikillyou/article/details/111912681