Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

(Pre-Requisites)
Line 2: Line 2:
 
m2e-wtp, formerly known as m2eclipse-wtp, is coming to Eclipse!  
 
m2e-wtp, formerly known as m2eclipse-wtp, is coming to Eclipse!  
  
This release focuses on bug fixes, but also bring new features to m2e-wtp, in the "Eclipse to Maven Project Conversion" area.
+
This release focuses on bug fixes, but also brings some new features to m2e-wtp, mainly to the "Eclipse to Maven Project Conversion" area. The complete changelog is available [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=2372438;query_format=advanced;target_milestone=Juno%20SR1%20RC1;product=M2E-WTP; here].
  
 
=== Pre-Requisites ===
 
=== Pre-Requisites ===
m2e-wtp requires an [http://www.eclipse.org/downloads/ Eclipse JavaEE distribution], and can be installed from the [http://download.eclipse.org/m2e-wtp/milestones/0.16.0 m2e-wtp update site]. m2e-wtp is generally compatible with Eclipse Indigo (3.7) and Juno (3.8, 4.2) but has a known incompatibility with Helios (3.6) in the [[#New_project_conversion_participants]].   
+
m2e-wtp requires an [http://www.eclipse.org/downloads/ Eclipse JavaEE distribution], and can be installed from the [http://download.eclipse.org/m2e-wtp/milestones/0.16.0 m2e-wtp update site]. m2e-wtp is generally compatible with Eclipse Indigo (3.7) and Juno (3.8, 4.2) but has a known incompatibility with Helios (3.6) in the [[#New_project_conversion_participants|project conversion area]].   
  
 
'''Please note that, curently, m2e-wtp can not be updated from m2eclipse-wtp 0.15.0 or previous versions, thus you need to manually remove m2eclipse-wtp from your existing eclipse setup, or better yet, start from a fresh installation.'''
 
'''Please note that, curently, m2e-wtp can not be updated from m2eclipse-wtp 0.15.0 or previous versions, thus you need to manually remove m2eclipse-wtp from your existing eclipse setup, or better yet, start from a fresh installation.'''
Line 12: Line 12:
  
 
[http://www.eclipse.org/m2e m2e 1.1] and the mavenarchiver 0.15.0 feature from Sonatype are required. They will be automatically discovered and installed if necessary.
 
[http://www.eclipse.org/m2e m2e 1.1] and the mavenarchiver 0.15.0 feature from Sonatype are required. They will be automatically discovered and installed if necessary.
 +
 +
Restart your workspace after the installation.
  
 
=== New project conversion participants ===
 
=== New project conversion participants ===
Thanks to a new API introduced in m2e 1.1, m2e-wtp can now help you convert existing pure Eclipse JavaEE projects to Maven.
+
Thanks to a new API introduced in m2e 1.1, m2e-wtp can now help you convert existing pure Eclipse JavaEE projects to Maven.
 +
 
 +
In order to convert an existing project to Maven, right click on your project, and select ''Configure > convert to Maven''. A wizard page will open and you will need to fill in some basic maven metadata. The selected packaging will determine how the conversion will be performed.
 +
 
 +
The supported projects types are :
 +
* Dynamic Web : select the '''war''' packaging
 +
* EJB : select the '''ejb''' packaging
 +
* Enterprise Application : select the '''ear''' packaging
 +
* Connector : select the '''rar''' packaging
 +
* Application Client : select the '''app-client''' packaging
 +
 
 +
m2e natively supports Utility and Web Fragment project conversion (both use the '''jar''' packaging).
  
 +
The wizard will then create a Maven pom.xml matching with your existing Eclipse settings. If the Eclipse settings perfecly match the Maven defaults, then no customization will be performed.
  
The complete changelog is available [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=2372438;query_format=advanced;target_milestone=Juno%20SR1%20RC1;product=M2E-WTP; here].
+
Note that due to a [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=385666 bug]] in m2e 1.1, project conversion will fail when run in Helios.

Revision as of 09:55, 23 July 2012

New and Noteworthy in m2e-wtp 0.16.0

m2e-wtp, formerly known as m2eclipse-wtp, is coming to Eclipse!

This release focuses on bug fixes, but also brings some new features to m2e-wtp, mainly to the "Eclipse to Maven Project Conversion" area. The complete changelog is available here.

Pre-Requisites

m2e-wtp requires an Eclipse JavaEE distribution, and can be installed from the m2e-wtp update site. m2e-wtp is generally compatible with Eclipse Indigo (3.7) and Juno (3.8, 4.2) but has a known incompatibility with Helios (3.6) in the project conversion area.

Please note that, curently, m2e-wtp can not be updated from m2eclipse-wtp 0.15.0 or previous versions, thus you need to manually remove m2eclipse-wtp from your existing eclipse setup, or better yet, start from a fresh installation.

M2e-wtp-0160-update-site.png

m2e 1.1 and the mavenarchiver 0.15.0 feature from Sonatype are required. They will be automatically discovered and installed if necessary.

Restart your workspace after the installation.

New project conversion participants

Thanks to a new API introduced in m2e 1.1, m2e-wtp can now help you convert existing pure Eclipse JavaEE projects to Maven.

In order to convert an existing project to Maven, right click on your project, and select Configure > convert to Maven. A wizard page will open and you will need to fill in some basic maven metadata. The selected packaging will determine how the conversion will be performed.

The supported projects types are :

  • Dynamic Web : select the war packaging
  • EJB : select the ejb packaging
  • Enterprise Application : select the ear packaging
  • Connector : select the rar packaging
  • Application Client : select the app-client packaging

m2e natively supports Utility and Web Fragment project conversion (both use the jar packaging).

The wizard will then create a Maven pom.xml matching with your existing Eclipse settings. If the Eclipse settings perfecly match the Maven defaults, then no customization will be performed.

Note that due to a [bug] in m2e 1.1, project conversion will fail when run in Helios.

Back to the top