zoukankan      html  css  js  c++  java
  • m2ewtp的作用

    描述

    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

  • 相关阅读:
    C++ Compress Floder
    C语言: 两个int变量相除,结果保留两位小数
    过滤Windows文件名中的非法字符
    判断两个vector是否相等
    顶级操盘手是怎样准确把握入场时机的
    短线黑马选股绝技
    短线黑马选股绝技 一
    每日一招:短线炒股实用技巧
    高抛低吸T+0操作要领(目前行情短线炒作的必备技能)
    如何买开盘即涨停的个股
  • 原文地址:https://www.cnblogs.com/wrong/p/8954634.html
Copyright © 2011-2022 走看看