You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Allan Wojcik da Silva <al...@gmail.com> on 2008/10/01 22:44:11 UTC
maven2 shade plugin - remove manifest files
Hi All,
I'm trying to build a jar from two other jar files, and want to remove the
"old" manifest files. I've tried several patterns to exclude them, but I had
no success. Following the patterns I've used:
<filters>
<filter>
<artifact>jar xpto</artifact>
<excludes>
<exclude>**/*.mf</exclude>
<exclude>META-INF/*.mf</exclude>
<exclude>META-INF/*.*</exclude>
<exclude>META-INF/manifest.mf</exclude>
<exclude>/META-INF/manifest.mf</exclude>
<exclude>*.mf</exclude>
other exclusions...
</excludes>
</filter>
</filters>
Any ideas?
--
Allan Wojcik da Silva