title: How to merge wars into one?
body: <p>In our company, we have a number different modules constructed as separate wars. 
  Each client can pick and choose module he wishes to buy.
  Since all modules share same session, security context etc, it makes sense to merge them into a single war. </p>
  
  <p>Is it possible to automate this process? For example, it should merge web.xml, calculate each wars dependencies, copy files like .jsp and .class etc. By the way, we are using Maven, but were not able to find a solution to this problem.</p>