maven eclipse web工程支持参数

eclipse maven工程加上参数-Dwtpversion=2.0就能够支持eclipse识别这个web工程。

 

To convert the Maven web project to support Eclipse IDE, in terminal, navigate to “CounterWebAPp” folder, issue this command :

mvn eclipse:eclipse -Dwtpversion=2.0

You must add the -Dwtpversion=2.0 argument to make it as a Eclipse web project. Imports it into Eclipse IDE, a globe icon on top of project, means this is a web project in Eclipse.

 

project structure

posted @ 2013-04-10 16:00  zhwj184  阅读(207)  评论(0编辑  收藏  举报