Hello I have this project that consists of multiple war modules, and the requirement to distributed the artifacts as an ear, but also a collection of single wars so they can be deployed in an environment that does not support ear deployment. The problem is that I am using skinny wars and i would like to inject the common libraries in each war.
My first approach was using the multiple executions of the war plugin with different overlays to generate skinny and fat wars, but i would like to just generate a single artifact per module. I was thinking of creating a new module that could inject the common libraries in each war and assembly the wars within a zip for simple distribution. Is this possible? For some context here is my project structure Project - WebApp1 - WebApp2 - WebApp3 - common - ear Best regards João Ferreira