DefaultConflictResolver, FarthestConflictResolver, NearestConflictResolver, NewestConflictResolver, OldestConflictResolverpublic interface ConflictResolver
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ROLE |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.maven.artifact.resolver.ResolutionNode |
resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode node1,
org.apache.maven.artifact.resolver.ResolutionNode node2) |
Determines which of the specified versions of an artifact to use when there are conflicting declarations.
|
org.apache.maven.artifact.resolver.ResolutionNode resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode node1,
org.apache.maven.artifact.resolver.ResolutionNode node2)
node1 - the first artifact declarationnode2 - the second artifact declarationnode1; node2; or nullif
this conflict cannot be resolved