Create complete EAR Project with Maven and Eclipse Helios

孤街醉人 提交于 2019-11-27 19:49:30
powerMicha

Creating the projects via console and importing them via m2eclipse would be the best way, as you can read it in the comments of your question.

Start off with this line in your console

mvn archetype:generate

Then use the archetype maven-archetype-j2ee-simple

This will generate you a project structure for ejb, ear and web projects. Otherwise you can create 3 simple projects maven-archetype-quickstart on your own and add the concering plugins

Here is another post, handling your problem: Maven2: Best practice for Enterprise Project (EAR file)

Another nice example you can find here

The best and the most clean way for creating an Enterprise Application (all the three projects ear, jar, war.... i.e. jar and war are linked into ear).... is to create through maven Enterprise Application in NETBEANS and import the whole project into Eclipse.

Thanks Imran

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!