Eclipse中不可解析的父POM

时间:2015-03-07 17:15:48

标签: eclipse maven

我正在尝试在Eclipse中使用m2e Maven连接器。

在Eclipse中,我设置了一个运行配置,其目标是“安装”和“运行”的配置文件。

但是我得到的错误类似于以下内容:

Non-resolvable parent POM: Failure to find com.jonney-parent:pom:3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2] [ERROR] 

我尝试在Eclipse中右键单击项目和Maven-> Update Project ...但错误仍然存​​在。

我终于到命令行跑了:

mvn install -U

这导致Maven开始下载正确的依赖项。

但是我在Eclipse中做错了什么我无法在那里做任何事情?

0 个答案:

没有答案