使用mvn创建java项目eclipse导入报错
Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- resources-plugin
在pom.xml添加
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<versionRange>[2.0,)</versionRange>
<goals>
<goal>resources</goal>
<goal>testResources</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
查到解决办法
http://stackoverflow.com/questions/7638562/import-maven-project-to-eclipse-and-fix-the-errors
分享到:
相关推荐
如何在eclipse jee中创建Maven project并且转换为Dynamic web project 注意:该文档只针对以下eclipse版本,如图
Idea 导入Maven项目,在加载pom.xml文件内容时,弹窗提示错误信息 Unable to import maven project的解决方案。文档是包含在操作时遇到的问题以及问题的解决方案,搭配图片,图文并茂,方便读者准确定位到问题以及更...
maven2的eclipse插件 for eclipse 3.5+。 插件安装时,我们只需在eclipse根目录下新建一个【links】目录,然后在里面创建【.link】扩展名的文件,在里面写上类似于【path=F:\\IDE\\eclipsePlugin\\maven2】这样的...
2.maven版本过高:比如我使用maven最新版本3.6.3,导致出现此问题,换成3.6.1解决 二、如何下载历史版本 1.官网地址,进入download页面 2.点击下图,archives 3.出现历史版本页面,我选择了3.6.1 选择二进制版本,...
主要介绍了IDEA配置maven环境的详细教程(Unable to import maven project问题的解决),本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
介绍maven 安装,maven Eclipse环境集成。maven是apache出的能够方便工程构建的可代替ant的软件。
m2eclipse这个工具比较有用,在官网上弄,费劲。
Maven在eclipse中的项目启动命令
Eclipse新建和部署maven项目,每一步都有详细的截图
maven安装以及eclipse配置maven
maven2.0+eclipse插件 经本人测试 没有问题 安装教程地址http://www.cnblogs.com/draem0507/archive/2013/02/02/2890015.html
You can use m2eclipse to manage both simple and multi-module Maven projects, execute Maven builds via the Eclipse interface, and interact with Maven repositories. m2eclipse makes development easier ...
Maven2+Eclipse开发J2EE.pdf Maven2_基础教程.pdf maven2之m2eclipse使用手册.doc Maven2使用.ppt maven2完全使用手册.docx Maven_介绍培训.pptx Maven学习指南.pdf Maven实战.doc Maven实战.pdf Maven构建并管理...
maven跟eclipse插件集成. 1,打开你本地的eclipse根目录,随便新建一个文件夹例如mavenPlugin,把maven离线插件包中两个文件夹复制到这个新建的这个文件夹里边. 2,找到eclipse根目录下的dropins文件夹,进去后,新建...
教你如何给eclipse安装maven插件,废话不多说,有图有真相
主要介绍了Intellij IDEA 与maven 版本不符 Unable to import maven project See logs for details: No implementation for org.apache.maven.model.path.PathTranslator was bound,本文通过图文给大家分享解决方案...
ECLIPSE MAVEN3插件文件(eclipse-maven3-plugin工具)
Maven 2 Eclipse Plugin
maven插件的eclipse插件
maven3.0.3安装包及maven-eclipse插件