resolve
public List<ArtifactPluginDescriptor> resolve(Set<ArtifactPluginDescriptor> providedPluginDescriptors,
List<ArtifactPluginDescriptor> descriptors,
boolean isDomain)
throws PluginResolutionError
Resolves the dependencies between a group of plugins. It sorts them in a lexicographic order by name to then sanitize the
packages exported by the plugins dependencies (avoids exporting elements that are already exported by other plugin).
- Parameters:
providedPluginDescriptors - plugins descriptors provided by a parent Mule artifact if it exists.
descriptors - plugins descriptors to resolve.
isDomain - true if providedPluginDescriptors come from a domain, false
otherwise.
- Returns:
- a non-null list containing the plugins in resolved order.
- Throws:
PluginResolutionError - if at least a plugin cannot be resolved.