ITeye博客

maven eclipse web工程支持参数

zhwj184 · 2013-04-10 15:59 · 工具 · web · 开源软件 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。