its regarding building an existing EAR using maven which contains multiple modules . we have a EAR project which contains web and jar projects in it total of 8 projects. ear was built using RAD and hence currently non of the project is having POM files . now i want to use maven for project. i want to use m2eclipse for creating POM's and build. plannig to creat a parent project and create modules under it, which includes ear project and others as well. so effective structure should be as below
workspace
>parent proj
>ear project
>web proj
>jar1 proj
>jar2 proj
but i have ear file containing all the projects and if i import ear in work space it create flate structure for all the projects as below
workspace
>web proj
>jar1 proj
>jar2 proj
concern is becuase of RAD project setup and .metadata files created by it in workspace. if i create parent project in workspace and then import ear in parent its a problem. please advise how can i do following
1> add indirection of parent project and below it have all the projects in ear
2>how to add ear project under parent which hold all the modules at build time
hope my situation and requirment is clear please advise on it
Thanks narayan