maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: Merging two war projects in a new war file.
Date Thu, 09 May 2013 16:07:13 GMT
Le 9 mai 2013 17:35, "Wayne Fay" <waynefay@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message