
Maven (Java EE) Integration for Eclipse WTP (a.k.a m2e-wtp) aims at providing a tight integration between Maven Integration for Eclipse (a.k.a m2e) and the Eclipse Web Tools Project (WTP) .
m2e-wtp provides a set of m2e connectors used for the configuration of Java EE projects in WTP :
- Support for war projects : adds the Java and Dynamic Web Facets
- Support for ejb projects : adds the Java and EJB Facets.
- Support for ear projects : adds the EAR Facet. Supports application.xml and jboss.xml file generation, resource filtering
- Support for rar projects : adds the Java and Connector Facets.
- Support for app-client projects : adds the Java and Application Client Facets. Supports deployment descriptor filtering.
- Support for web-fragment projects : adds the Java and Web Fragment Facets if a web-fragment.xml file is detected in the resource folders.
- Support for jar dependency projects : adds the Java and Utility Facets.
m2e-wtp also brings some advanced Maven features to the Eclipse environment :
- overlays of workspace project and .war archives dependencies
- on-the-fly resource filtering
Finally, m2e-wtp helps you convert your legacy Eclipse projects to Maven, by translating your Java EE eclipse project settings into maven plugin configuration.
Note that m2e-wtp 1.1 requires m2e 1.5 Luna, 1.2 requires m2e 1.6 Mars.
Since 1.1 Luna optional Java EE configurators are available :
- JAX-RS project configurator : installs the JAX-RS Facet to war projects having JAX-RS dependencies
- JSF project configurator : installs the JSF Facet to war projects having a WEB-INF/faces-config.xml, JSF dependencies or defining a FacesServlet in web.xml
- JPA project configurator : installs the JPA Facet to java projects having a META-INF/persistence.xml descriptor
This optional configurators can be turned on/off in the Workspace preferences under Maven > Java EE integration
Read the New and Noteworthy for
1.1.0 Luna and
1.2.0 Mars.