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.
> 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
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
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
Hi all,
I wish to exclude WEB-INF classes folder from being added in the war file.
How can we do it?
Thanks,
Sid