Import Existing Maven in Eclipse as WTP

2019-04-29 15:10发布

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!

2条回答
We Are One
2楼-- · 2019-04-29 15:45

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
查看更多
疯言疯语
3楼-- · 2019-04-29 15:56

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/

查看更多
登录 后发表回答