maven 2.6のリソースプラグインの依存性を解決するには?
ERROR:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Solutions Tried:
プロジェクトの更新:mavenのREPOからダウンロードできません。
.m2レポのそのフォルダに特定のjarを入れてみました。
必要であればリファレンスを提供できます。
23
3
.m2(local maven repo)フォルダに
settings.xml
ファイルがないようです。eclipseを使用している場合は、Window -> Preferences -> Maven -> User Settings ->
settings.xml
を参照して、適用をクリックしてください。その後、maven Update Projectを行います。
.
窓の上。
1.C:Users\USER.m2からフォルダーを削除する。 2.プロジェクトを閉じてから開くか、pom.xmlファイルを強制的に変更して保存する :)
何らかの理由でダウンロードが失敗した場合、Mavenは特定の時間枠内でのダウンロードを試みません(タイムスタンプ付きのファイルを残します)。
これを修正するには、次のいずれかを実行します。