私はMavenベースのプロジェクトを持っており、Springソースツールスイートにインポートしようとしています。次のエラーが表示されます。SpringとMavenのプラグインのインストールに関する問題。 mvn; spring
Description Resource Path Location Type
Could not calculate build plan: Missing:
----------
1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.2 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
Gamex Unknown Maven Problem
Mavenのresourourceプラグイン2.4.2をインストールするために私を求めているように見えますが、私は、ダウンロードするファイルが何であるかわかりません。私はmaven-plugin-plugin-2.4.2-source.jarをダウンロードしてコマンドに入力しようとしました。しかしそれはうまくいかなかった。 その後私はhttp://svn.apache.org/viewvc/maven/plugins/tags/maven-resources-plugin-2.4.2/のmavenリポジトリに行き、pof.xmlをダウンロードしました。これも動作していません。 plsが何が欠落しているか、またはエラーメッセージが何であるかを理解するのに役立つ前に、この問題を見たことがある場合。
ありがとう、
おそらくhttp://stackoverflow.com/questions/5074063/maven-problem-failure-to-transferがエラーの原因です – Raghuram