We have a working maven project that builds an ear file with the maven-ear-plugin. The import in IDEA 8.1.3 works fine except that the application.xml is missing in the resulting JavaEE facet. In Maven the application.xml is generated at build time.
Is it possible to let IDEA create the application.xml at build time?
The current workaround is to add the file manually in the deployment descriptors. The build now works fine in IDEA till the pom file get updated. A re-import of the pom leads to an empty context-root in the application.xml. The context-root is configured correctly in IDEA and in Maven.
Does anyone know where this empty context-root is coming from?