Maven3下的項目結構,target目錄下會有一個m2e-wtp文件夾,刪除掉會自動生成,有什么作用呢?
wtp解釋
wtp解釋
WTP:Web Tools Project
Maven集成WTP
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.
|