Le 9 mai 2013 17:35, "Wayne Fay" <[email protected]> a écrit : > > > I have two war files generated from two maven projects:proj1, proj2. I want to > > merge them together in a new project: newProject. > ... > > What is the right path, or concepts that I should use? > > To merge war files, you generally should be using war overlays. This > is documented in the war plugin docs.
Yup, see http://maven.apache.org/plugins/maven-war-plugin/overlays.html By the way, you'll see it requires another dedicated project. As you seem to be asking for best practices, you should know this is an important one for Maven : one produced artifact, one project. -- Baptiste
