Class DebugResolutionListener
java.lang.Object
org.apache.maven.artifact.resolver.DebugResolutionListener
- All Implemented Interfaces:
ResolutionListener,ResolutionListenerForDepMgmt
@Deprecated
public class DebugResolutionListener
extends Object
implements ResolutionListener, ResolutionListenerForDepMgmt
Deprecated.
Send resolution events to the debug log.
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.resolver.ResolutionListener
FINISH_PROCESSING_CHILDREN, INCLUDE_ARTIFACT, MANAGE_ARTIFACT, MANAGE_ARTIFACT_SCOPE, MANAGE_ARTIFACT_SYSTEM_PATH, MANAGE_ARTIFACT_VERSION, OMIT_FOR_CYCLE, OMIT_FOR_NEARER, PROCESS_CHILDREN, RESTRICT_RANGE, ROLE, SELECT_VERSION_FROM_RANGE, TEST_ARTIFACT, UPDATE_SCOPE, UPDATE_SCOPE_CURRENT_POM -
Constructor Summary
ConstructorsConstructorDescriptionDebugResolutionListener(org.codehaus.plexus.logging.Logger logger) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidendProcessChildren(Artifact artifact) Deprecated.voidincludeArtifact(Artifact artifact) Deprecated.voidmanageArtifact(Artifact artifact, Artifact replacement) Deprecated.The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was called right before the actual version/artifactScope changes were done.voidmanageArtifactScope(Artifact artifact, Artifact replacement) Deprecated.voidmanageArtifactSystemPath(Artifact artifact, Artifact replacement) Deprecated.voidmanageArtifactVersion(Artifact artifact, Artifact replacement) Deprecated.voidomitForCycle(Artifact omitted) Deprecated.voidomitForNearer(Artifact omitted, Artifact kept) Deprecated.voidrestrictRange(Artifact artifact, Artifact replacement, VersionRange newRange) Deprecated.voidselectVersionFromRange(Artifact artifact) Deprecated.voidstartProcessChildren(Artifact artifact) Deprecated.voidtestArtifact(Artifact node) Deprecated.voidupdateScope(Artifact artifact, String scope) Deprecated.voidupdateScopeCurrentPom(Artifact artifact, String ignoredScope) Deprecated.This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
-
Constructor Details
-
DebugResolutionListener
public DebugResolutionListener(org.codehaus.plexus.logging.Logger logger) Deprecated.
-
-
Method Details
-
testArtifact
Deprecated.- Specified by:
testArtifactin interfaceResolutionListener
-
startProcessChildren
Deprecated.- Specified by:
startProcessChildrenin interfaceResolutionListener
-
endProcessChildren
Deprecated.- Specified by:
endProcessChildrenin interfaceResolutionListener
-
includeArtifact
Deprecated.- Specified by:
includeArtifactin interfaceResolutionListener
-
omitForNearer
Deprecated.- Specified by:
omitForNearerin interfaceResolutionListener
-
omitForCycle
Deprecated.- Specified by:
omitForCyclein interfaceResolutionListener
-
updateScopeCurrentPom
Deprecated.Description copied from interface:ResolutionListenerThis event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom- Specified by:
updateScopeCurrentPomin interfaceResolutionListener- Parameters:
artifact- current node artifact, the one in the first level pomignoredScope- artifactScope that was ignored because artifact was in first level pom
-
updateScope
Deprecated.- Specified by:
updateScopein interfaceResolutionListener
-
selectVersionFromRange
Deprecated.- Specified by:
selectVersionFromRangein interfaceResolutionListener
-
restrictRange
Deprecated.- Specified by:
restrictRangein interfaceResolutionListener
-
manageArtifact
Deprecated.The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was called right before the actual version/artifactScope changes were done. However, a different set of conditionals (and more information) is needed to be able to determine when and if the version and/or artifactScope changes. See the two added methods, manageArtifactVersion and manageArtifactScope.- Specified by:
manageArtifactin interfaceResolutionListener
-
manageArtifactVersion
Deprecated.- Specified by:
manageArtifactVersionin interfaceResolutionListenerForDepMgmt
-
manageArtifactScope
Deprecated.- Specified by:
manageArtifactScopein interfaceResolutionListenerForDepMgmt
-
manageArtifactSystemPath
Deprecated.- Specified by:
manageArtifactSystemPathin interfaceResolutionListenerForDepMgmt
-