Hi
I have an .ear project structure like this:
The .ear project consists of a web application, a datasource and a hibernate .har deployment:
Source folders:
\pom.xml
\src\main\har\META-INF\hibernate-service.xml
\src\main\hbm2x\hibernate.cfg.xml
\src\main\resources\backend-ds.xml
\src\main\resources\META-INF\jboss-app.xml
\src\main\resources\resources\myapp.properties
The application.xml file is being generated by Maven, and it also contains references to a web service webapp project that is included in the .ear, as well as a messagedriven bean and several lib’s that is being shared between the projects inside the .ear.
All the resources (properties files) are being packaged at root level in the .ear, so that they can be shared between the modules inside the .ear.
The datasource, the mdb-ejb.jar, web service and hibernate mapping are also all being placed in the .ear root by the maven build process.
So to my question:
– How can I configure ME for this kind of setup?
…as I see it, I would have to make ME use the maven target folder instead of the source folders – which has obvious drawbacks regarding file syncronisation etc. (did I remember to run the build script before deploying, etc).