Manifest mf = readManifest(f);
if (mf.getMainAttributes().containsKey(new Attributes.Name(SERVICE_COMPONENT))) {
String serviceComponents = mf.getMainAttributes().getValue(SERVICE_COMPONENT);
for (String component : Strings.splitAndTrimAsList(serviceComponents, ",")) {
if (VALID_COMPONENT_PATH_PATTERN.matcher(component).matches()) {
archive.add(new ZipFileEntryAsset(new ZipFile(f, ZipFile.OPEN_READ), new ZipEntry(component)), component);
components.add(component);
}
}
}
}