if (manifest != null && OverwriteMode.MERGE == overwriteMode) {
analyzer.mergeManifest(manifest);
}
checkMandatoryProperties(analyzer, jar, jarInfo);
Manifest newManifest = analyzer.calcManifest();
jar.setManifest( newManifest );
Attributes main = jar.getManifest().getMainAttributes();
// Hack to add back META-INF imports