Deployment of Multiple Web Modules

Our basic scenario is this:

We have several modules, some which may depend on others, but in general are relatively independent. We are typically building and deploying these with maven. These modules may/may not be deployed in a given installation.

Each of these modules has it's own web content, including JSP's and web.xml fragments.

When we deploy the application, we want to have IntelliJ merge the web.xml files together to give us the final web.xml.

I'm not seeing any way to do this in IntelliJ. If i setup a dependency, it's simply taking the web.xml from the highest module (the one where the depencies start), and not doing anything with the other module's web.xml files.

Has anyone else tried this kind of configuration?


Please sign in to leave a comment.