public class MuleVersionSelector
extends org.eclipse.aether.util.graph.transformer.ConflictResolver.VersionSelector
ConflictResolver that determines the winner among conflicting using nearest algorithm for none mule-plugin
dependencies and Semantic Version for mule-plugin dependencies.
It delegates the resolution to a NearestVersionSelector when conflictItems are not mule-plugin.
By design it is not supported to declare mule-plugin dependencies with org.eclipse.aether.version.VersionRange, in that case
this resolver will throw an IllegalArgumentException.| Constructor and Description |
|---|
MuleVersionSelector(org.eclipse.aether.util.graph.transformer.NearestVersionSelector nearestVersionSelector) |
| Modifier and Type | Method and Description |
|---|---|
void |
selectVersion(org.eclipse.aether.util.graph.transformer.ConflictResolver.ConflictContext context) |
public MuleVersionSelector(org.eclipse.aether.util.graph.transformer.NearestVersionSelector nearestVersionSelector)
public void selectVersion(org.eclipse.aether.util.graph.transformer.ConflictResolver.ConflictContext context)
throws org.eclipse.aether.RepositoryException
selectVersion in class org.eclipse.aether.util.graph.transformer.ConflictResolver.VersionSelectororg.eclipse.aether.RepositoryExceptionCopyright © 2019 MuleSoft, Inc.. All rights reserved.