How to create a modularized ear project in maven

This post is one way of creating a typical javaee6 maven project that contains ear, web, ejb and api. The output of course is an ear file that contains (web, ejb and api).How it looks like (assuming our top project is named ipiel):+ipiel +ipiel-ear +ipiel-web +ipiel-api +ipiel-ejb*Note...