Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Jörg Schaible
Siddharth Gargate wrote: > Hi all, > I wish to exclude WEB-INF classes folder from being added in the war file. > How can we do it? Use the packagingExcludes parameter. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Wayne Fay
> param. However, I'm wondering why you would like not to include the Java > classes of the war project? Why do they exist there if your don't want them? I'm thinking along the lines of Anders... You should probably move all classes to another Maven project of type jar, then depend on it in your W

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Anders Hammar
I doubt that's what's the question was regarding. Filtering doesn't exclude files... I'm not an expert on the war plugin, but I would try the packagingExcludes param. However, I'm wondering why you would like not to include the Java classes of the war project? Why do they exist there if your don't

Re: Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Vishal Gupta
i guess u need to use filter src/main/resources true http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files Regards, vishal On Tue, Aug 10, 2010 at 4:46 PM, Siddharth Gargate wrote: > Hi all, > I wish to exclude WEB-IN

Exclude WEB-INF/classes folder in war:war

2010-08-10 Thread Siddharth Gargate
Hi all, I wish to exclude WEB-INF classes folder from being added in the war file. How can we do it? Thanks, Sid