The maven-war-plugin allows for war overlays [1], which may accomplish what
you need.

[1] http://maven.apache.org/plugins/maven-war-plugin/overlays.html


On Jan 15, 2008 6:04 AM, Peter Crowther <[EMAIL PROTECTED]> wrote:

> > From: DCVer [mailto:[EMAIL PROTECTED]
> > I am trying to merge 4 web applications (WARs) into 1 WAR file. Is it
> > possible?
>
> Yes, but it can be a lot of manual work.
>
> > Shall I have e.g. 4 web.xml files or should I
> > manually merge them into 1 file?
>
> One WAR = one webapp.
> One webapp = one web.xml, one WEB-INF, etc.
> Therefore you need exactly one web.xml.
>
> You may also need to merge quite a lot of your code by hand, depending on
> exactly what it does.
>
> > I am using Maven, so I would be happy if most of
> > the work could be done by Maven.
>
> I think a lot of people would be happy if this was so.
>
>                - Peter
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to