Look at http://jira.codehaus.org/browse/MNG-1038 I don't know if the last patch has been applied to the WAR plugin. Anyway, the final version has not been released yet... (there are still some plugins that have not been released) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] KC Baltz <[EMAIL PROTECTED] .Com> Pour Maven Users List 02/11/2005 02:08 <users@maven.apache.org> cc Veuillez Objet répondre à RE: [m2] How to exclude Maven Users List WEB-INF/lib/*.jar without excluding <[EMAIL PROTECTED] dependent jars? che.org> No luck. That appears to have no effect at all. I end up with all the jars, those from source control and those from dependencies. K.C. -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 3:39 PM To: Maven Users List Subject: Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars? try <excludes> <exclude>WEB-INF/lib/*.jar</exclude> </excludes> On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > I'm in the process of converting a webapp from Ant builds to Maven2 builds and I'm running into a hitch with the packaging. When I first built the webapp, it put duplicate jars in my WEB-INF/lib since they exist there in my source directory and it also included the jars defined in my pom dependencies. I tried adding > <excludes>WEB-INF/lib/*.jar</excludes> to my war plugin configuration, but then I ended up with no jars in my war file. > > I'd rather not delete the jars at the moment since I'm still doing parallel development with Ant. Is there a way to accomplish this or am I wasting time trying to make M2 do something it really shouldn't? > > K.C. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]