> -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: samedi 8 octobre 2005 20:11 > To: Maven Users List > Subject: Re: [m2] creating war from existing wars > > On 10/7/05, Miodrag Glumac <[EMAIL PROTECTED]> wrote: > > First is that assembly plugin does not know how to unpack war file: > > This has been fixed in SVN. > > > org.codehaus.plexus.archiver.ArchiverException: webxml attribute is > required > > This requires some custom handling - do you want to merge the web.xml > files? use one or the other? use a dummy?
Not sure if this is relevant but there is code in Cargo for merging web.xml files. It doesn't support all the elements yet but quite a few. It's in org.codehaus.cargo.module.webapp.WebXmlMerger (see http://tinyurl.com/75qg8). > I suggest you should write your own plugin for this, leveraging > maven-archiver like the assembly plugin does. -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
