描述

Maven3下的项目结构,target目录下会有一个m2e-wtp文件夹,删除掉会自动生成,有什么作用呢?

wtp解释

WTP:Web Tools Project

Maven集成WTP

The Maven Integration for WTP project, also known as m2e-wtp, aims at providing a tight integration between Maven Integration for Eclipse (a.k.a m2e) and the Eclipse Web Tools Project (WTP). 
WTP项目的Maven集成,也称为M2e-WTP,旨在为Eclipse的Maven集成(又名M2e)和Eclipse Web工具项目(WTP)提供一个紧凑的集成。

m2e-wtp的作用

m2e-wtp provides a set of m2e connectors used for the configuration of Java EE projects in WTP, brings unique Maven features to your Eclipse IDE and helps you convert your Eclipse projects to Maven. 
m2e-wtp提供一套用于在WTP java EE项目配置的m2e连接器,给你的Eclipse IDE带来独特的Maven的功能,可以帮助你把Eclipse项目转换成Maven项目。

m2e-wtp的功能

  • war project configuration : adds the Java and Dynamic Web Facets
  • ejb project configuration : adds the Java and EJB Facets.
  • ear project configuration : adds the EAR Facet. Supports application.xml and jboss.xml file generation
  • rar project configuration : adds the Java and Connector Facets.
  • app-client project configuration : adds the Java and Application Client Facets.
  • jar dependency project configuration : adds the Java and Utility Facets.
  • web-fragment project configuration : adds the Java and Web Fragment Facets if a web-fragment.xml file is detected.
  • Optional configurators for JSF, JPA and JAX-RS Facets
  • war overlays of workspace dependencies and .war archives, with incremental deployment on server
  • dynamic resource filtering with incremental deployment on server
  • Eclipse to Maven project conversion : maps Eclipse settings to their equivalent maven plugin configuration. Available for all Java EE projects.

Maven项目project facet示例

项目右键—>Properties 

参考来源:http://www.eclipse.org/m2e-wtp/

转自:https://blog.csdn.net/fengyunhaitan/article/details/51765254

最新文章

  1. Intellij Idea 15 下新建 Hibernate 项目以及如何添加配置
  2. 第五章第二例题关于Vector(LRJ)
  3. P6 EPPM 16.1 安装和配置指南 1
  4. Action的动态调用方法
  5. LDA-math-文本建模
  6. spring中Bean的注入参数详解
  7. ActiveMQ之消息指针
  8. A题笔记(6)
  9. border-radius讲解1
  10. A Byte of Python 笔记(9) 面向对象编程
  11. Android Studio 受不了了
  12. luogu P2327 [SCOI2005]扫雷
  13. Java多线程6:Synchronized锁代码块(this和任意对象)
  14. MySQL的information_schema
  15. POJ 2823 Sliding Window​ (模板题)【单调队列】
  16. Entity Framework 6如何进行导航属性的筛选(context.Msg.First(t=>t.Id==1).Include(t=>t.MsgDetail),筛选MsgDetail带条件)
  17. android开发问题 Failed to pull selection 菜鸟记录
  18. MySQL 乐观锁 悲观锁 共享锁 排他锁
  19. SqlServer-geography && Spatial result
  20. TOJ 1856 Is It A Tree?

热门文章

  1. 【转】wpf 模板选择器DataTemplateSelector及动态绑定,DataTemplate.Triggers触发器的使用
  2. 24小时学通Linux内核之电源开和关时都发生了什么
  3. SQL开头quoted和ansiNULL
  4. 【Dubbo 源码解析】06_Dubbo 服务调用
  5. 10.Oracle Golden Date(ogg)的搭建和管理
  6. webpack简介与使用
  7. springboot2.X访问静态文件配置
  8. ZooKeeper-3.3.4集群安装配置
  9. python学习中的bug
  10. Github Upload Large File 上传超大文件