"Baeriswyl Kuno - Extern (IT-BA-MV)" <[EMAIL PROTECTED]> wrote on 
30/05/2008 00:37:53:

> Hello,
> 
> in der Maven documentation is an article about a workaround for creating 

> skinny wars. http://maven.apache.org/plugins/maven-war-
> plugin/examples/skinny-wars.html
> 
> In this approach, all libs in WEB-INF/lib are exluded by applying 
> following pattern configuration: <warSourceExcludes>WEB-INF/lib/*.
> jar</warSourceExcludes>
> 
> Is it possible to exclude only certain libraries? Respectively, can I 
> configure the war plugin in way that I it keeps the web specific 
> dependencies, e.g. Struts libraries, in the web application and shares 
> only the utility libraries in the EAR classloader?

I am having exactly the same issue. (See the current thread with subject: 
Multi Module Projects - manifest question).

Upon reading the doco on the warSourceExcludes attribute (
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes)
 
the value of the tag is a comma separated list.

Yes, for things such as struts, spring etc, it may be a very long list, 
but from what I can infer from the doco, that is what is needed.

I'll be testing that out a little further today. I'll let you know how I 
go.

-Chris


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may 
contain privileged or confidential information. 

If you are not the intended recipient of this message you must: 
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer 
immediately.

Internet emails are not necessarily secure. Australian Associated Motors 
Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not 
accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own 
and do not represent those of AAMI.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to