0

I create a "fat jar" using the maven shade plugin (version 2.4.3).

I want to merge the manifest sections from several jar's into the MANIFEST.MF file of the target (fat) jar. IFAIK this is not possible.

Second try is to add the needed manifest sections manually, using org.apache.maven.plugins.shade.resource.ManifestResourceTransformer. However, i cannot get this working neither.

Any suggestions?

UPDATE

I only want to aggregate (or add) the attribute sections or per-entry attributes.

rmuller
  • 12,062
  • 4
  • 64
  • 92
  • Well this is hard since you can't just append one MANIFEST to another one, which is what `AppendingTransformer` does. Could you post a sample of what you want? – Tunaki Feb 02 '16 at 14:55
  • No, just adding is not possible (but is also not what i want). I *only* want to aggregate the *manifest sections*. See also the update. – rmuller Feb 02 '16 at 15:47

0 Answers0