本文共 1073 字,大约阅读时间需要 3 分钟。
Recently when I imported a Maven Project in Eclipse Indigo, it was showing following error in the project – maven-dependency-plugin (goals “copy-dependencies”, “unpack”) is not supported by m2e.
最近,当我在Eclipse Indigo中导入Maven项目时,它显示了项目中的以下错误-m2e不支持maven-dependency-plugin(目标为“ copy-dependencies”和“ unpack”)。
The issue was coming because Eclipse M2E doesn’t support execution, more details are at .
However, if you build the project, it doesn’t cause any issue.因为Eclipse M2E不支持执行,所以问题来了,更多细节在 。
但是,如果您构建项目,则不会引起任何问题。To resolve this error all you need to do is copy following code just before your closing tag of the build.
要解决此错误,您需要做的就是在构建的结束标记之前复制以下代码。
org.eclipse.m2e lifecycle-mapping 1.0.0 org.apache.maven.plugins maven-dependency-plugin [2.0,) unpack
Just save the project and error should be gone, if not you might need to Update the project from maven options.
只需保存项目,错误就会消失,否则,您可能需要从maven选项更新项目。
翻译自:
转载地址:http://foozd.baihongyu.com/