I am trying to set up a new project which contains 3 modules, an EJB, a WEB, and an EAR. When creating the EAR module I see where I can specify to include the jar and the war file from the other two modules but I also need to add some jar files which will be in the top level of the ear and some other jar files which will be in a lib/ directory off the top level of my EAR. The jars are not created by the other modules they are support libraries. I do not see where to configure the EAR module to support this layout. Here is an example of the layout I would like to achieve.
jar tvf myEar.ear
So myEJBModule.jar & myWebModule.war should get packaged based on the EAR module's "Modules and Libraries to Package" settings which seem to automatically get populated based on the project's modules. Do I have to create a seperate project for these other libraries or is the another/better way to get them added in the structure I am looking for?