maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise" <khmarba...@gmx.de>
Subject Re: excluding a file inside a jar while building a war file
Date Fri, 04 May 2012 07:54:34 GMT
Hi,

> hi, actually the jar has structure as: 
> resources/folder1/file1.xml 
> resources/folder2/file2.xml
> resources/folder2/file3.xml
> 
> Now i include this jar as a dependency for 3 different wars and for each
> war in need to include only either file1.xml OR file2.xml OR file3.xml
> 
> Could you please tell how to use the upack/assembly here?
> Thanks.
The best solution take a look here:

http://stackoverflow.com/questions/10372197/excluding-certain-files-from-a-jar-which-is-a-dependency-in-a-war-in-maven3

Kind regards
Karl-Heinz Marbaise
-- 
MfG
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                     USt.IdNr: DE191347579
52146 W├╝rselen                           http://www.soebes.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message