У меня есть проект на основе Maven, и я пытаюсь импортировать его в набор инструментов Spring source. Я получаю следующую ошибку.
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 и передать его команде; но это не сработало.
Затем я зашёл в репозиторий maven в http://svn.apache.org/viewvc/maven/plugins/tags/maven-resources-plugin-2.4.2/ и скачал pof.xml; это тоже не работает.
Если вы сталкивались с этой проблемой до того, как pls поможет мне понять, что отсутствует / или что означает сообщение об ошибке.
Спасибо