WAR created by "uberwar" does not contain manifest

Description

Obviously, it is impossible to "merge" manifests from source WARs.
However, there is no possibility to specify own, even minimal, manifest for merged WAR file.

I suggest to add this option to plugin configuration.
For example,

From the code point of view:
1) JarUtils.createJarFromDirectory():

  • use Manifest as additional parameter, map two-argument call to new function

  • when not null, pass Manifest as second argument to the constructor of JarOutputStream
    2) UberWarMojo/WarArchiveMerger/MergedWarArchive trio:

  • use configuration values to create correct Manifest object

  • send Manifest to JarUtil in MergedWarArchive.store()

Status

Assignee

Anton Khitrenovich

Reporter

Anton Khitrenovich

Components

Fix versions

Affects versions

Priority

Major
Configure