博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Eclipse中的m2e不支持如何修复maven-dependency-plugin(目标为“ copy-dependencies”,“ unpack”)
阅读量:2530 次
发布时间:2019-05-11

本文共 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/

你可能感兴趣的文章
vue-cli3创建项目时报错
查看>>
输入1-53周,输出1-53周的开始时间和结束时间
查看>>
实验二
查看>>
shell——按指定列排序
查看>>
crash 收集
查看>>
507 LOJ 「LibreOJ NOI Round #1」接竹竿
查看>>
UI基础--烟花动画
查看>>
2018. 2.4 Java中集合嵌套集合的练习
查看>>
精通ASP.NET Web程序测试
查看>>
vue 根据不同属性 设置背景
查看>>
51Nod1601 完全图的最小生成树计数 Trie Prufer编码
查看>>
Codeforces 1110D. Jongmah 动态规划
查看>>
android驱动在win10系统上安装的心酸历程
查看>>
优雅的程序员
查看>>
oracle之三 自动任务调度
查看>>
Android dex分包方案
查看>>
ThreadLocal为什么要用WeakReference
查看>>
删除本地文件
查看>>
FOC实现概述
查看>>
base64编码的图片字节流存入html页面中的显示
查看>>