I am maintaining a legacy web application written in Java using Apache Struts 1.x. It is currently compiled through Maven profiles. This way we need to generate a WAR for ea