运行Maven项目 - 目标' add-maven-repo'

时间:2016-05-08 15:46:04

标签: java maven

我刚刚接手了一个maven项目,在此之前我没有使用maven的经验。下面的错误是什么?关于这个&add-maven-repo'的信息非常少。在线...我该如何解决它?

[ERROR] Could not find goal 'add-maven-repo' in plugin org.apache.maven.plugins:
maven-eclipse-plugin:2.10 among available goals clean, configure-workspace, ecli
pse, help, install-plugins, myeclipse, myeclipse-clean, rad, rad-clean, remove-c
ache, resolve-workspace-dependencies, to-maven -> [Help 1]

这是我跑的命令

mvn -Declipse.workspace=<my_workspace_absolute_path> eclipse:add-maven-repo

由于

1 个答案:

答案 0 :(得分:3)