我有一个基于Maven的项目,我试图将其导入到Spring源工具套件。我收到以下错误。Spring和Maven插件安装问题; MVN;春天
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的资源插件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;这也不起作用。 如果你在看到这个问题之前,请帮助我了解什么是缺失/或错误信息是什么。
谢谢,
也许http://stackoverflow.com/questions/5074063/maven-problem-failure-to-transfer导致错误 – Raghuram 2012-01-10 12:47:43