Difference between revisions of "M2E-WTP/New and Noteworthy/0.17"

From Eclipsepedia

Jump to: navigation, search
(New page: TODO)
 
(New and Noteworthy in m2e-wtp 0.17.0)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
TODO
+
== New and Noteworthy in m2e-wtp 0.17.0 ==
 +
 
 +
m2e-wtp 0.17.0 brings you new Java EE related project configurators to help you quickly set up your projects in Eclipse.
 +
 
 +
The complete changelog is available [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=4495924&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&product=M2E-WTP&target_milestone=Juno%20SR2%20M1&target_milestone=Juno%20SR2%20M2&target_milestone=Juno%20SR2%20M3 here].
 +
 
 +
=== Pre-Requisites ===
 +
m2e-wtp requires an [http://www.eclipse.org/downloads/ Eclipse JavaEE distribution], and can be installed from :
 +
* http://download.eclipse.org/m2e-wtp/releases/juno/ for Eclipse Indigo (3.7), Juno (3.8, 4.2)
 +
* http://download.eclipse.org/m2e-wtp/releases/kepler/ for Eclipse Kepler (4.3). 
 +
 
 +
[http://www.eclipse.org/m2e m2e 1.1]+ (m2e 1.3 is recommended) and the Maven Archiver 0.15.0+ feature from Sonatype are required. They will be automatically discovered and installed if necessary.
 +
 
 +
Restart your workspace after the installation.
 +
 
 +
=== New optional Java EE configurators ===
 +
The [http://www.jboss.org/tools JBoss Tools] project contributed its Java EE m2e project configurators to the m2e-wtp project :
 +
 
 +
* 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
 +
 
 +
These configurators are available as optional features from the p2 repository :
 +
 
 +
[[Image:M2e-wtp-optional-features.png]]
 +
 
 +
Existing project facet configuration will remain unchanged, any subsequent manual modifications to any of these Facet settings will be preserved.
 +
Morreover, each of these configurators can be turned off in Window > Preferences > Maven > Java EE integration :
 +
 
 +
[[Image:M2e-wtp-optional-configurator-preferences.png]]
 +
 
 +
=== Project conversion enhancements  ===
 +
* When used with m2e 1.3+, converting existing pure Eclipse JavaEE projects to Maven will automatically pre-set the packaging type, depending on the Java EE Facet installed on the project (`war` for Dynamic Web, `ejb` for EJB, `ear` for Enterprise Application ...)
 +
* During project conversion to Maven, the maven-ear-plugin version is now set to 2.8 and the maven-war-plugin version is set to 2.3

Latest revision as of 16:40, 20 February 2013

Contents

[edit] New and Noteworthy in m2e-wtp 0.17.0

m2e-wtp 0.17.0 brings you new Java EE related project configurators to help you quickly set up your projects in Eclipse.

The complete changelog is available here.

[edit] Pre-Requisites

m2e-wtp requires an Eclipse JavaEE distribution, and can be installed from :

m2e 1.1+ (m2e 1.3 is recommended) and the Maven Archiver 0.15.0+ feature from Sonatype are required. They will be automatically discovered and installed if necessary.

Restart your workspace after the installation.

[edit] New optional Java EE configurators

The JBoss Tools project contributed its Java EE m2e project configurators to the m2e-wtp project :

  • 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

These configurators are available as optional features from the p2 repository :

M2e-wtp-optional-features.png

Existing project facet configuration will remain unchanged, any subsequent manual modifications to any of these Facet settings will be preserved. Morreover, each of these configurators can be turned off in Window > Preferences > Maven > Java EE integration :

M2e-wtp-optional-configurator-preferences.png

[edit] Project conversion enhancements

  • When used with m2e 1.3+, converting existing pure Eclipse JavaEE projects to Maven will automatically pre-set the packaging type, depending on the Java EE Facet installed on the project (`war` for Dynamic Web, `ejb` for EJB, `ear` for Enterprise Application ...)
  • During project conversion to Maven, the maven-ear-plugin version is now set to 2.8 and the maven-war-plugin version is set to 2.3