private final Map<String, String> manifestEntries;
public MavenArchiveConfiguration(ParsedPomFile pomFile, Map<String, Object> configuration) {
this.pomFile = pomFile;
this.manifestEntries = new HashMap<String, String>();
this.manifestEntries.putAll(ConfigurationUtils.valueAsMapOfStrings(configuration, new Key("manifestEntries"),
Collections.<String, String> emptyMap()));
this.manifestFile = ConfigurationUtils.valueAsFile(configuration, new Key("manifestFile"), pomFile.getBaseDirectory(),
null);
this.pomPropertiesFile = ConfigurationUtils.valueAsFile(configuration, new Key("pomPropertiesFile"),
pomFile.getBaseDirectory(), null);
Map<String, Object> manifestConfiguration = ConfigurationUtils.valueAsMap(configuration, new Key("manifest"),
Collections.<String, Object> emptyMap());
this.manifestMainClass = ConfigurationUtils.valueAsString(manifestConfiguration, new Key("mainClass"), null);
this.manifestPackageName = ConfigurationUtils.valueAsString(manifestConfiguration, new Key("packageName"), null);
this.manifestAddDefaultImplementationEntries = ConfigurationUtils.valueAsBoolean(manifestConfiguration, new Key(
"addDefaultImplementationEntries"), false);
this.manifestAddDefaultSpecificationEntries = ConfigurationUtils.valueAsBoolean(manifestConfiguration, new Key(
"addDefaultSpecificationEntries"), false);
this.manifestSections = parseManifestSections(configuration);
}