/** * Get all bundle descriptors for a feature / application * @param bundles The bundles * @param desc The descriptor * @throws IOException If something goes wrong or no suitable scanner is found. */ private void getBundleInfos(final Bundles bundles, final ContainerDescriptor desc) throws IOException { for(final Map.Entry<Integer, List<Artifact>> entry : bundles.getBundlesByStartOrder().entrySet()) { for(final Artifact bundle : entry.getValue() ) { final BundleDescriptor bundleDesc = scan(bundle, entry.getKey()); desc.getBundleDescriptors().add(bundleDesc); } } }
final List<String> artifactOverrides, final String originKey) { for(final Map.Entry<Integer, List<Artifact>> entry : source.getBundlesByStartOrder().entrySet()) { for(final Artifact a : entry.getValue()) { Set<ArtifactId> artifactIds = a.getAliases(true);