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]

Reply via email to