|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.artifact.resolver.conflict.DefaultGraphConflictResolver
public class DefaultGraphConflictResolver
Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus
| Field Summary | |
|---|---|
protected GraphConflictResolutionPolicy |
policy
artifact, closer to the entry point, is selected |
| Fields inherited from interface org.apache.maven.artifact.resolver.conflict.GraphConflictResolver |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultGraphConflictResolver()
|
|
| Method Summary | |
|---|---|
MetadataGraph |
resolveConflicts(MetadataGraph graph,
ArtifactScopeEnum scope)
Cleanses the supplied graph by leaving only one directed versioned edge\ between any two nodes, if multiple exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GraphConflictResolutionPolicy policy
| Constructor Detail |
|---|
public DefaultGraphConflictResolver()
| Method Detail |
|---|
public MetadataGraph resolveConflicts(MetadataGraph graph,
ArtifactScopeEnum scope)
throws GraphConflictResolutionException
GraphConflictResolverArtifactScopeEnum
resolveConflicts in interface GraphConflictResolvergraph - the "dirty" graph to be simplified via conflict resolutionscope - scope for which the graph should be resolved
GraphConflictResolutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||