Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import Existing Maven in Eclipse as WTP

I had to reinstall my Eclipse and now i have to import all the existing projects into the new workspace. The previous version of Eclipse was Galileo, this version is Indigo. The plugins are installed, but after the "Import Existing Maven Project" the projects are not showing as WTP (WebApp Project)...

Do i need something else to setup or config?

Thanks a lot!

like image 252
VORiAND Avatar asked Apr 25 '12 11:04

VORiAND


2 Answers

You can convert a maven project to a Eclipse WTP project. After that you only need to import the project as any other project.

The command to convert is:

mvn eclipse:eclipse -Dwtpversion=2.0
like image 33
mariolpantunes Avatar answered Oct 01 '22 17:10

mariolpantunes


Yes, you need to install additional software. The "Maven Integration for Eclipse WTP"

See here: http://marketplace.eclipse.org/node/96737

Update Site: http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/

like image 164
Dariop Avatar answered Oct 01 '22 17:10

Dariop